ICU-9602 increment the _MBCSHeader.version from 5.3/4.3 to 5.4/4.4

X-SVN-Rev: 33327
This commit is contained in:
Markus Scherer 2013-02-25 23:26:00 +00:00
parent e31422e17e
commit 6199780f09
3 changed files with 6 additions and 3 deletions

View File

@ -233,7 +233,7 @@
* if(bit 31 set) {
* roundtrip (|0);
* } else if(bit 30 set) {
* "good one-way" mapping (|4);
* "good one-way" mapping (|4); -- new in ICU4C 51, _MBCSHeader.version 5.4/4.4
* } else {
* normal fallback (|1);
* }

View File

@ -1,7 +1,7 @@
/*
******************************************************************************
*
* Copyright (C) 2000-2012, International Business Machines
* Copyright (C) 2000-2013, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
@ -60,6 +60,9 @@
*
* When possible, makeconv continues to generate version 4.m files.
*
* _MBCSHeader.version 5.4/4.4 supports "good one-way" mappings (|4)
* in the extension tables (fromUTableValues bit 30). See ucnv_ext.h for details.
*
* _MBCSHeader.version 4.3 optionally modifies the fromUnicode data structures
* slightly and optionally adds a table for conversion to MBCS (non-SBCS)
* charsets.

View File

@ -1499,7 +1499,7 @@ MBCSWrite(NewConverter *cnvData, const UConverterStaticData *staticData,
header.version[0]=4;
headerLength=MBCS_HEADER_V4_LENGTH; /* 8 */
}
header.version[1]=3;
header.version[1]=4;
/* header.version[2] set above for utf8Friendly data */
header.options|=(uint32_t)headerLength;