meyers8686 / plist

Automatically exported from code.google.com/p/plist
0 stars 0 forks source link

Unable to parse some UTF-8 characters #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Great product -- thanks a lot for your work!

What steps will reproduce the problem?
1. Create a binary plist with string value of "yés"
2. Parse
3. String gets parsed as "yé", the rest gets cut off, no matter how many 
characters follow "é"

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
r21

Please provide any additional information below.

Original issue reported on code.google.com by roma...@gmail.com on 30 Jul 2011 at 4:33

GoogleCodeExporter commented 9 years ago
This was a bug in binary plist parsing.  Short UTF16 strings were being cut in 
half.
Fixed with r23.

Original comment by kei...@alum.mit.edu on 1 Aug 2011 at 6:37

GoogleCodeExporter commented 9 years ago
It worked.  Thank you very much!

Original comment by roma...@gmail.com on 1 Aug 2011 at 6:59