From: Sébastien B. <Seb...@en...> - 2008-09-24 12:10:43
|
Hi all, Currently, in my Linux with a UTF-8 locale and terminal settings, the Jython console (from the current trunk) defines improperly unicode strings. $ ./bin/jython --verify ... >>> u"é" u'\xc3\xa9' instead of the correct: $ python ... >>> u"é" u'\xe9' The 'cflags.encoding' option is AFAICT never set in Jython code and in this case the input string is therefore assumed to be latin-1 in ParserFacade. Could the 'encoding' attribute default be set to the Java 'file.encoding' property in CompilerFlags instances (instead of null) ? That would solve this specific problem ... would it create other issues ? Cheers, SB |