Project

General

Profile

Bug #1502

Unable to use HTML entity in WComboBox

Added by Jan Hrubeš about 9 years ago. Updated about 9 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/29/2012
Due date:
% Done:

0%

Estimated time:

Description

Hi,

it seems wt escapes ampersand when rendering WComboBox.

E.g.: the result is "±1" instead of "±1" .

HTML supports using entities inside

There is a JavaScript issue with ampersand which can be avoided using Unicode (more info at StackOverflow).

regards,

Jan

#1

Updated by Koen Deforche about 9 years ago

  • Status changed from New to Feedback

Hey,

Indeed the text is interpreted literally, but unicode text should be fully supported. As always, caveats apply when using unicode in C++03: either you manually specify the byte-sequence for the UTF-8 encoding of the unicode character, or you store the text in a message resource bundle.

(for ±, this is WString::fromUTF8("\xc2\xb1"))

Regards,

koen

Also available in: Atom PDF