dcsimg
Jar files - non ASCII filenames
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Paul_Smiley
Posted On:   Thursday, March 14, 2002 08:28 AM

I can't seem to get the 1.3 Jar command to recognize non-ASCII filenames - when I jar *, it does jar them up, but translates characters in the filenames to +' etc. The files are in UTF-8 and Jar supposedly supports UTF-8??


PS - how can the -i flag help me on this? according to the spec at http://java.sun.com/j2se/1.3/docs/guide/jar/jat.html it says that "The UTF-8 encoding is used to support non ASCII characters in file or package names in the index file" so I assume that non-ASCII filenames are supported...

Re: Jar files - non ASCII filenames

Posted By:   Christopher_Schultz  
Posted On:   Friday, March 15, 2002 06:37 AM

Is it possible that your shell is translating these characters and screwing them up?



Try creating your JAR file from within Java, and see if that works.



Otherwise, you might just have to replace ths offending characters.



-chris
About | Sitemap | Contact