Article View: borland.public.jbuilder.java.api
Article #1263about ZipOutputStream and chinese string file name
From: liying
Date: Tue, 19 Mar 2002 06:29
Date: Tue, 19 Mar 2002 06:29
11 lines
1419 bytes
1419 bytes
Hello everyone! I am a begginer of java. I wrote a grogram to compress some files into a ZIP archive via the "ZipOutputStream" and it work well. But i found a strange thing that when i add a file named with a chinese string into the zip archive, the file name in the archive will be confused. My os is win2k and the page code set to PRC(the People's Republic of China). anybody tell me how to resovle it? Thanks a lot!!
Technical Details
Message-ID:
<3c96db19$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!hub1.nntpserver.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,407313dbc3f89471,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-03-18 22:35:24 PST From: "liying" <liying1221@hotmail.> Newsgroups: borland.public.jbuilder.java.api Subject: about ZipOutputStream and chinese string file name Date: Tue, 19 Mar 2002 14:29:08 +0800 Lines: 13 Organization: autosoft ltd X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 202.108.204.193 Message-ID: <3c96db19$1_1@dnews> X-Trace: dnews 1016519449 202.108.204.193 (18 Mar 2002 22:30:49 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!hub1.nntpserver.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews