commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #11630] problems with filename charset conversion


From: anonymous
Subject: [commit-cp] [bugs #11630] problems with filename charset conversion
Date: Wed, 2 Mar 2005 22:22:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050210 Firefox/1.0 (Debian package 1.0+dfsg.1-6)

Follow-up Comment #3, bugs #11630 (project classpath):

You give me too little information.  What failed?
What Sun's JVM did you use?  Did you used my scripts?
Those should report both iso-8859-1 and utf-8 charset
case, did you run .class by hand?  Could you try Blackdown
VM, this seems to handle it correctly.

The basic idea is that internally jvm should keep filenames
as decoded unicode (utf16), but when reading directory,
or using string as filename, jvm should convert from/to
locale charset.

ListDir.java checks whether the locale-> utf-16 conversion
happened (list:?), and also utf-16 -> locale (open:?)

"list:FAILED open:ok" suggests that those jvm's handle
filenames as byte-array's without converting.  (Or the
unicode chars did not reach .class file - what compiler
did you use?  Jikes 1.22 seems to handle it correctly)



    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11630>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]