Message341
When entering a big O-Umlaut in a euro-centric windows
command prompt this happens:
1) Java reads it as 0x99.
2) Jython (wrongly) puts it trough the default
encoding which return unicode 0x2122.
3) This is passed to the javaCC parser which assumes
it is only dealing with ascii and cuts away the
top 8 bits.
4) The result is 0x22 (a double quote) which cause a
syntax error.
>>> "Ö"
Traceback (innermost last):
(no code object) at line 0
File "<console>", line 2
SyntaxError: Lexical error at line 2, column 0.
Encountered: <EOF> after : ""
>>> |
|
Date |
User |
Action |
Args |
2008-02-20 17:16:51 | admin | link | issue439688 messages |
2008-02-20 17:16:51 | admin | create | |
|