Project

General

Profile

Feature #1417

specify encoding for Wt::Json::parse

Added by Boris Nagaev about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/03/2012
Due date:
% Done:

0%

Estimated time:

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?

#1

Updated by Wim Dumon about 8 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.

#2

Updated by Koen Deforche almost 8 years ago

  • Status changed from New to Resolved
  • Assignee set to Wim Dumon
  • Target version set to 3.3.0
#3

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF