Actions
Feature #1417
closedspecify encoding for Wt::Json::parse
Description
Hello!
Some Json generators do not encode UTF-8 chars properly.
For example, cyrillic chars are left as is (e.g., UTF-8), instead of \uXXXX.
Example: http://service.smscoin.com/language/russian/json/key/200001/
To use Wt::Json with such input, additional preprocessing is needed.
Could you add optional argument "encoding" to Wt::Json::parse or at least accept UTF-8 chars?
Updated by Wim Dumon about 12 years ago
Hello,
I've recently made UTF-8 patches to the json parser. If they're not yet in the public git, they will most likely get there very soon now.
BR,
Wim.
Updated by Koen Deforche almost 12 years ago
- Status changed from New to Resolved
- Assignee set to Wim Dumon
- Target version set to 3.3.0
Updated by Koen Deforche almost 12 years ago
- Status changed from Resolved to Closed
Actions