Project

General

Profile

Actions

Feature #1417

closed

specify encoding for Wt::Json::parse

Added by Boris Nagaev over 11 years ago. Updated about 11 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?

Actions #1

Updated by Wim Dumon over 11 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.

Actions #2

Updated by Koen Deforche about 11 years ago

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

Updated by Koen Deforche about 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF