Chromium Code Reviews
DescriptionFix IDNtoUnicode and unittest.
1. Check whether uloc_getdata returns the default locale because an invalid or unsupported (not a part of ICU data file we use) locale is passed.
2. Replace 'se' with 'sv' in IDNToUnicode test and change the corresponding
test result to true. U+00C4 IS used in Swedish, but the result was set to
false because the test results were machine generated with the same
typo ('se' in place of 'sv') under en_US.UTF-8 locale on Linux and
we ran this test only on Windows with en_US locale.
1st part of patch is by Matthias Reitinger <reimarvin@gmail.com>
BUG=1153
TEST=NetUtilTest.IDNToUnicode passes in various locales, C, en_US, en_US.utf8,
ja_JP.utf8, sv_SE.utf8, hi_IN.utf8, ru_RU.utf8, fr_CA
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2052
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||