It was my understanding that Java source code is only guaranteed to work if
it's ASCII, but I may be wrong about that. Obviously, though, ASCII
seems the safe way to go. JDK 1.2 may have changed the internationalization
standards (officially or unofficially). Note that there could also be
a limitation in the operating system that prevents filenames containing
such characters, especially with an older kernel version (such as what
shipped with redhat 2.1). In newer kernels, you have to enable the
codepages you want to use (this may have more to do with display than
underlying filesystem).
I was deep in meditation when Vincent Gay-Para awoke me by saying:
>
> Hi,
>
> here is a bug on my linux (redhat 2.1). I'm not sure if it is a bug of
> your port or a bug in Java. (or a bad limitation...)
>
> try to compile and execute this:
>
> public class Iso {
> public static void main(String[] args) {
> IsoäöüÄÖÜß.main(null);
> }
> }
> class IsoäöüÄÖÜß {
> public static void main(String[] args) {
> System.err.println(">>>>>>>");
> }
> }
>
> Here is a trace on my xterm:
>
> vgp% javac Iso.java
> vgp% java Iso
> java.lang.NoClassDefFoundError: IsoäöüÄÖÜß
> at java.lang.Thread.init(Thread.java)
>
>
> But, you should note that:
>
> vgp% javap IsoäöüÄÖÜß
> Compiled from Iso.java
> synchronized class IsoäöüÄÖÜß extends java.lang.Object
> /* ACC_SUPER bit set */
> {
> public static void main(java.lang.String[]);
> IsoäöüÄÖÜß();
> }
>
> works, so it is not a problem of CLASSPATH !
> Unfortunatly I can't even found a workaround to use special chars in the
> name of my classes. Do you have an idea ?
>
> Thank's to let me informed if you send this mail to SUN.
> Thank's for your work.
>
> Vincent GAY-PARA, [EMAIL PROTECTED]
> Still waiting for JDK1.2 for linux...
>
--
¤--------------------------------------------------------------------¤
| Aaron Gaudio mailto:[EMAIL PROTECTED] |
| http://www.rit.edu/~adg1653/ |
¤--------------------------------------------------------------------¤
| "The fool finds ignorance all around him. |
| The wise man finds ignorance within." |
¤--------------------------------------------------------------------¤
Use of any of my email addresses is subject to the terms found at
http://www.rit.edu/~adg1653/email.shtml. By using any of my addresses, you
agree to be bound by the terms therein.