chrisdickinson / json-parse-stream

streaming json parser
http://npm.im/json-parse-stream
14 stars 2 forks source link

Unicode encoded characters not being parsed correctly #2

Open asegal opened 10 years ago

asegal commented 10 years ago

json-parse-stream drops the last character in a unicode code (for example, the '2' in '\u0002') when firing String.fromCharCode. This causes all unicode encoded characters to show up as '\0000' (unknown character) in the parsed output.