Message341

Author bckfnn
Recipients
Date 2001-07-09.12:05:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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 : ""
>>>
History
Date User Action Args
2008-02-20 17:16:51adminlinkissue439688 messages
2008-02-20 17:16:51admincreate