https://bugs.webkit.org/show_bug.cgi?id=89969
Add charset utf-8 to the select popup's page.
Patch by Jason Liu <jason.liu@torchmobile.com.cn> on 2012-06-28
Reviewed by Antonio Gomes.
.:
* ManualTests/blackberry/select-popup-items-unicode-display.html: Added.
Source/WebKit/blackberry:
* WebCoreSupport/SelectPopupClient.cpp:
(WebCore::SelectPopupClient::generateHTML):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@121516
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-06-28 Jason Liu <jason.liu@torchmobile.com.cn>
+
+ [BlackBerry] Selection items show as garbage for non-ascii characters.
+ https://bugs.webkit.org/show_bug.cgi?id=89969
+
+ Add charset utf-8 to the select popup's page.
+
+ Reviewed by Antonio Gomes.
+
+ * ManualTests/blackberry/select-popup-items-unicode-display.html: Added.
+
2012-06-28 Christophe Dumez <christophe.dumez@intel.com>
[EFL] Enable support for HTML5 datalist
--- /dev/null
+<!DOCTYPE html>
+<html>
+ <body>
+ <p>This tests if we can show unicode correctly. It is for <a href="https://bugs.webkit.org/show_bug.cgi?id=89969">https://bugs.webkit.org/show_bug.cgi?id=89969.</a></p>
+ <p>
+ If you can see chinese(北京, 澳门) after pressing the droplist, this test passes.
+ </p>
+ <select>
+ <option selected="selected">北京</option>
+ <option>ShenYang</option>
+ <option>澳门</option>
+ </select>
+ </body>
+</html>
+2012-06-28 Jason Liu <jason.liu@torchmobile.com.cn>
+
+ [BlackBerry] Selection items show as garbage for non-ascii characters.
+ https://bugs.webkit.org/show_bug.cgi?id=89969
+
+ Add charset utf-8 to the select popup's page.
+
+ Reviewed by Antonio Gomes.
+
+ * WebCoreSupport/SelectPopupClient.cpp:
+ (WebCore::SelectPopupClient::generateHTML):
+
2012-06-28 Leo Yang <leo.yang@torchmobile.com.cn>
[BlackBerry] Checkerboard shown when clicking on error page buttons
const int* itemType, bool* selecteds)
{
StringBuilder source;
- source.append("<html><head><style>\n");
+ source.append("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/><style>\n");
// Include CSS file.
source.append(popupControlBlackBerryCss,
sizeof(popupControlBlackBerryCss));