EUC-type encodings don't have single byte characters >= 128
This change should not be MFCed until new collate will be MFCed first, because our old EUC tables have some hacks for missing codesets.
This commit is contained in:
parent
598003be2d
commit
e08c3b7c11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297532
@ -132,7 +132,7 @@ _EUC_CN_init(struct xlocale_ctype *l, _RuneLocale *rl)
|
||||
|
||||
l->runes = rl;
|
||||
l->__mb_cur_max = 4;
|
||||
l->__mb_sb_limit = 256;
|
||||
l->__mb_sb_limit = 128;
|
||||
return (0);
|
||||
}
|
||||
|
||||
@ -226,7 +226,7 @@ _EUC_JP_init(struct xlocale_ctype *l, _RuneLocale *rl)
|
||||
|
||||
l->runes = rl;
|
||||
l->__mb_cur_max = 3;
|
||||
l->__mb_sb_limit = 196;
|
||||
l->__mb_sb_limit = 128;
|
||||
return (0);
|
||||
}
|
||||
|
||||
@ -273,7 +273,7 @@ _EUC_TW_init(struct xlocale_ctype *l, _RuneLocale *rl)
|
||||
|
||||
l->runes = rl;
|
||||
l->__mb_cur_max = 4;
|
||||
l->__mb_sb_limit = 256;
|
||||
l->__mb_sb_limit = 128;
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user