Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Non Latin files

Posted on 2004-10-15
5
Medium Priority
?
321 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

604 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