Solved

Non Latin files

Posted on 2004-10-15
5
310 Views
Last Modified: 2010-03-31
Hello ,I am having problems when I zip files with non-latin characters UTF8 characters to be specific.

Any ideas how could I read the filenames encoded like UTF8.

I tried to tranform the string filename with getByted but didn't work.

Thank you in advance,
Klearchos
0
Comment
Question by:pouli
  • 3
  • 2
5 Comments
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 12320698
Hi pouli,

Which version of Java are you using? There have been lacking support in the past for utf8 encoded file names. You might want to have a look at the bug parade at java.sun.com.
The other option, if you both put the files in, and retrieve them, is to base64 encode the filenames.

Cheers!

\tt
0
 

Author Comment

by:pouli
ID: 12320783
I am using

java version "1.4.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02)
Java HotSpot(TM) Client VM (build 1.4.1_03-b02, mixed mode)


Is there a way to bypass that bug ?
0
 
LVL 14

Accepted Solution

by:
Tommy Braas earned 50 total points
ID: 12321619
pouli,

Yes there is, just like I described in my previous comment.

\t
0
 

Author Comment

by:pouli
ID: 12322819
aa,  yes sorry about that.
0
 
LVL 14

Expert Comment

by:Tommy Braas
ID: 12323478
No problem! =-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question