Actions
Bug #1502
openUnable to use HTML entity in WComboBox
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
Updated by Koen Deforche over 12 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
Actions