Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: icu46/source/common/ucnv2022.c

Issue 6010003: Apply the converter patches for ICU 4.2.1 to ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu46/patches/converters.patch ('k') | icu46/source/data/mappings/convrtrs.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/common/ucnv2022.c
===================================================================
--- icu46/source/common/ucnv2022.c (revision 68397)
+++ icu46/source/common/ucnv2022.c (working copy)
@@ -491,7 +491,7 @@
}
if(jpCharsetMasks[version]&CSM(GB2312)) {
myConverterData->myConverterArray[GB2312] =
- ucnv_loadSharedData("ibm-5478", &stackPieces, &stackArgs, errorCode); /* gb_2312_80-1 */
+ ucnv_loadSharedData("noop-gb2312_gl", &stackPieces, &stackArgs, errorCode); /* gb_2312_80-1 */
}
if(jpCharsetMasks[version]&CSM(KSC5601)) {
myConverterData->myConverterArray[KSC5601] =
@@ -514,7 +514,7 @@
if(version==1) {
cnvName="icu-internal-25546";
} else {
- cnvName="ibm-949";
+ cnvName="ksc_5601";
myConverterData->version=version=0;
}
if(pArgs->onlyTestIsLoadable) {
@@ -552,13 +552,13 @@
/* open the required converters and cache them */
myConverterData->myConverterArray[GB2312_1] =
- ucnv_loadSharedData("ibm-5478", &stackPieces, &stackArgs, errorCode);
+ ucnv_loadSharedData("noop-gb2312_gl", &stackPieces, &stackArgs, errorCode);
if(version==1) {
myConverterData->myConverterArray[ISO_IR_165] =
- ucnv_loadSharedData("iso-ir-165", &stackPieces, &stackArgs, errorCode);
+ ucnv_loadSharedData("noop-iso-ir-165", &stackPieces, &stackArgs, errorCode);
}
myConverterData->myConverterArray[CNS_11643] =
- ucnv_loadSharedData("cns-11643-1992", &stackPieces, &stackArgs, errorCode);
+ ucnv_loadSharedData("noop-cns-11643", &stackPieces, &stackArgs, errorCode);
/* set the function pointers to appropriate funtions */
« no previous file with comments | « icu46/patches/converters.patch ('k') | icu46/source/data/mappings/convrtrs.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698