Project

General

Profile

Actions

Bug #5894

closed

Unicode support broken in Wt::WString

Added by Sebastian Schmitt over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Target version:
-
Start date:
08/24/2017
Due date:
% Done:

0%

Estimated time:

Description

Using the constructor "WString(const std::wstring& value)" messes up the resulting WString if "value" contains surrogate pairs.

Using the "value()" method from "WString" results in a messed up string if the resulting string should contain surrogate pairs.

Actions #1

Updated by Sebastian Schmitt over 7 years ago

We use Windows for development.

Actions #2

Updated by Roel Standaert over 7 years ago

  • Status changed from New to Resolved

UTF-8 to UTF-16 conversion should already have been fixed. UTF-16 to UTF-8 is properly implemented in Wt 4, but I went ahead and made sure that the master branch does it correctly, too.

Actions #3

Updated by Roel Standaert about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF