From f6b1e3e8e9a657bc2f966dadb9265619008a8275 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Wed, 5 Apr 2000 00:12:40 +0000 Subject: [PATCH] fix bug 32290 . Use the GBK converter to convert incomming data. --- intl/uconv/ucvcn/nsUCvCnModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intl/uconv/ucvcn/nsUCvCnModule.cpp b/intl/uconv/ucvcn/nsUCvCnModule.cpp index aa4079024c03..d3284c6180a9 100644 --- a/intl/uconv/ucvcn/nsUCvCnModule.cpp +++ b/intl/uconv/ucvcn/nsUCvCnModule.cpp @@ -81,7 +81,7 @@ static FactoryData g_FactoryData[] = { { &kGB2312ToUnicodeCID, - nsGB2312ToUnicode::CreateInstance, + nsGBKToUnicode::CreateInstance, "GB2312", "Unicode" }, @@ -93,7 +93,7 @@ static FactoryData g_FactoryData[] = }, { &kCP936ToUnicodeCID, - nsGB2312ToUnicodeV2::CreateInstance, + nsGBKToUnicode::CreateInstance, "windows-936", "Unicode" },