Title: [189000] trunk/Source/WebCore
Revision
189000
Author
mmaxfi...@apple.com
Date
2015-08-26 16:21:47 -0700 (Wed, 26 Aug 2015)

Log Message

Add comment to LocaleToScriptMappingDefault.cpp
<rdar://problem/22407296>

Unreviewed.

We currently map lang="zh" to USCRIPT_SIMPLIFIED_HAN, which is incorrect.
Instead, we should consult with an external source, such as the user's
language preferences.

* platform/text/LocaleToScriptMappingDefault.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (188999 => 189000)


--- trunk/Source/WebCore/ChangeLog	2015-08-26 22:24:26 UTC (rev 188999)
+++ trunk/Source/WebCore/ChangeLog	2015-08-26 23:21:47 UTC (rev 189000)
@@ -1,3 +1,16 @@
+2015-08-26  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Add comment to LocaleToScriptMappingDefault.cpp
+        <rdar://problem/22407296>
+
+        Unreviewed.
+
+        We currently map lang="zh" to USCRIPT_SIMPLIFIED_HAN, which is incorrect.
+        Instead, we should consult with an external source, such as the user's
+        language preferences.
+
+        * platform/text/LocaleToScriptMappingDefault.cpp:
+
 2015-08-26  Chris Dumez  <cdu...@apple.com>
 
         Distinguish Web IDL callback interfaces from Web IDL callback functions

Modified: trunk/Source/WebCore/platform/text/LocaleToScriptMappingDefault.cpp (188999 => 189000)


--- trunk/Source/WebCore/platform/text/LocaleToScriptMappingDefault.cpp	2015-08-26 22:24:26 UTC (rev 188999)
+++ trunk/Source/WebCore/platform/text/LocaleToScriptMappingDefault.cpp	2015-08-26 23:21:47 UTC (rev 189000)
@@ -376,7 +376,7 @@
     { "yap", USCRIPT_LATIN },
     { "yo", USCRIPT_LATIN },
     { "za", USCRIPT_LATIN },
-    { "zh", USCRIPT_SIMPLIFIED_HAN },
+    { "zh", USCRIPT_SIMPLIFIED_HAN }, // FIXME: This mapping in incorrect. Instead, we should consult with an external source (such as the user's language preferences).
     { "zh_hk", USCRIPT_TRADITIONAL_HAN },
     { "zh_tw", USCRIPT_TRADITIONAL_HAN },
     { "zu", USCRIPT_LATIN }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to