Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#8 Wrong unicode strings handling

open
nobody
Reader (1)
5
2010-07-20
2010-07-20
No

Try to read the JSON file, containing the unicode symbols (for example, the google chrome "Preferences" file). Write it using the StyledWriter.
The unicode strings will be no omore valid as they will contain binary symbols. (Hence, the new settings file won't be recognized by the google chrome).

I have added some new configurations (VS8 projecs only) and build conditions for the unicode handling.In these configurations unicode symbols are not decoded and are handled as usual text instead.

Discussion

  • Added new VS8 configurations. In these configurations unicode symbols are not decoded and are handled as usual text instead. Fixed unicode shadowing

     
  • I think the right way to integrate this in the library is to optionally escape unicode string in the writer (by enhancing the Features structure).