>>>>> "AG" == Aaron Gaudio <[EMAIL PROTECTED]> writes:

    AG> It was my understanding that Java source code is only
    AG> guaranteed to work if it's ASCII, but I may be wrong about
    AG> that.

No, you're right but the example give *is* ASCII. The spec refers to
the encoding of the source, not the result in the .class file. The
\uXXXX notation was introduced exactly to have a way of specifying
Unicode in ASCII (I called it UniASCII :) ). Now, the problem is that
Java uses the file system for the class names *and* the package
repository. Many file systems don't support Unicode encoding in the
names and that's way is usually ok to use Unicode in identifiers
except class and package names.


--Paolo





Reply via email to