зеркало из https://github.com/mozilla/gecko-dev.git
fix bug 32290 . Use the GBK converter to convert incomming data.
This commit is contained in:
Родитель
5c520e108c
Коммит
f6b1e3e8e9
|
@ -81,7 +81,7 @@ static FactoryData g_FactoryData[] =
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
&kGB2312ToUnicodeCID,
|
&kGB2312ToUnicodeCID,
|
||||||
nsGB2312ToUnicode::CreateInstance,
|
nsGBKToUnicode::CreateInstance,
|
||||||
"GB2312",
|
"GB2312",
|
||||||
"Unicode"
|
"Unicode"
|
||||||
},
|
},
|
||||||
|
@ -93,7 +93,7 @@ static FactoryData g_FactoryData[] =
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
&kCP936ToUnicodeCID,
|
&kCP936ToUnicodeCID,
|
||||||
nsGB2312ToUnicodeV2::CreateInstance,
|
nsGBKToUnicode::CreateInstance,
|
||||||
"windows-936",
|
"windows-936",
|
||||||
"Unicode"
|
"Unicode"
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче