Fix gb18030 codec's bug that doesn't map two-byte characters on

GB18030 extension in encoding. (bug reported by Bjorn Stabell)
This commit is contained in:
Hye-Shik Chang 2007-08-04 04:10:18 +00:00
parent 766d880a2f
commit f3e93a0268
4 changed files with 26 additions and 1 deletions

View file

@ -197,6 +197,7 @@ ENCODER(gb18030)
REQUIRE_OUTBUF(2)
GBK_ENCODE(c, code)
else TRYMAP_ENC(gb18030ext, code, c);
else {
const struct _gb18030_to_unibmp_ranges *utrrange;