On 26 juil, 09:42, Lew <l...@lewscanon.nospam> wrote:
Bamako sur Seine wrote:
Is there still a problem with class names using non ASCII [sic]
characters?
There's no problem, they're just forbidden by the language spec.
According to the JLS[1]:
An identifier is an unlimited-length sequence of Java letters and Java
digits, the first of which must be a Java letter.
,,,
The Java letters include uppercase and lowercase ASCII Latin letters
A-Z (\u0041-\u005a), and a-z (\u0061-\u007a), and, for historical
reasons, the ASCII underscore (_, or \u005f) and dollar sign ($, or
\u0024). The $ character should be used only in mechanically generated
source code or, rarely, to access preexisting names on legacy systems.
include does not mean limited to...
http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.8>
Letters and digits may be drawn from the entire Unicode character set,
which supports most writing scripts in use in the world today,
including the large sets for Chinese, Japanese, and Korean. This
allows programmers to use identifiers in their programs that are
written in their native languages.
names. Was there ever?