Menu

#2 Can not read multi byte characters

open
nobody
None
5
2008-10-27
2008-10-27
Yoshimov
No

YamlReader fails to read strings including multi byte characters. The error message is as follows;

Found non-printable character at 48: ?

I think Tokenizer.NON_PRINTABLE pattern should be like this:

[^\u0009\n\r\u0020-\u007E\u0085\u00A0-\uffff]

This looks working correctly for me.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB