ICU-11979 Fix max char size for iso-2022-kr in icu4j

X-SVN-Rev: 38085
This commit is contained in:
Michael Ow 2015-11-17 23:05:18 +00:00
parent 7c7b8ee870
commit e4126a0fb6
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ class CharsetISO2022 extends CharsetICU {
private void ISO2022InitKR(int version) { private void ISO2022InitKR(int version) {
variant = ISO_2022_KR; variant = ISO_2022_KR;
maxBytesPerChar = 3; maxBytesPerChar = 8;
minBytesPerChar = 1; minBytesPerChar = 1;
maxCharsPerByte = 1; maxCharsPerByte = 1;

View File

@ -5663,7 +5663,7 @@ public class TestCharset extends TestFmwk {
20, 20,
80, /* changed from 60 to 80 to reflect the updates by #9205 */ 80, /* changed from 60 to 80 to reflect the updates by #9205 */
80, 80,
60 160
}; };
int stringLength = 10; int stringLength = 10;