Solved

Non Latin files

Posted on 2004-10-15
5
305 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
Comment Utility
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
Comment Utility
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
Comment Utility
pouli,

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

\t
0
 

Author Comment

by:pouli
Comment Utility
aa,  yes sorry about that.
0
 
LVL 14

Expert Comment

by:Tommy Braas
Comment Utility
No problem! =-)
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

728 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now