Solved

Non Latin files

Posted on 2004-10-15
5
312 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 60
JAVA API design with micro service cloud in mind 1 82
dao vs facade design patterns 2 38
Find out all repos that a user is most active on Github 1 34
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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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.

730 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