Solved

Non Latin files

Posted on 2004-10-15
5
315 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 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

690 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