On 16/12/02 15:11 +0100, Bruno Haible thus spake: > Brian Foster writes: > > > Suppose such a file is being opened. What bytes are passed as the > > name of the file? This is an unknown. It obviously depends on the > > Java/JVM implementation. > > The Sun Java 1.3 interprets the filenames on the file system according > to the locale. This means, in an UTF-8 locale the file names are UTF-8, > and in an ISO-8859-1 locale it replaces unencodable characters with > question marks, while doing the conversion from Java String to filename.
Can you explain what you mean by "interprets"? Any encoded filename is just a sequence of bytes. Why should apps be concerned any further than that? Or do you mean that the rendering in a terminal which doesn't have representable glyphs for the characters in the name. - Sandip -- -------------------------------------------------------- Sandip Bhattacharya sandipb <@> bigfoot.com http://www.sandipb.net GPG/PGP: 0x08EB637C -------------------------------------------------------- -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
