diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2007-08-04 04:10:18 +0000 |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2007-08-04 04:10:18 +0000 |
commit | bdd785a5bb08da2cca45fb01d5fe21a5fabdd153 (patch) | |
tree | 40fd5f4a13d4fcee7936d9c23480d00415fb8730 /Modules | |
parent | 0ecc07c4efd5dd3b32321c8e331ea883cbdc8fdd (diff) | |
download | cpython-bdd785a5bb08da2cca45fb01d5fe21a5fabdd153.tar.gz |
Fix gb18030 codec's bug that doesn't map two-byte characters on
GB18030 extension in encoding. (bug reported by Bjorn Stabell)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/cjkcodecs/_codecs_cn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/cjkcodecs/_codecs_cn.c b/Modules/cjkcodecs/_codecs_cn.c index c811a67eda..4542ce62f0 100644 --- a/Modules/cjkcodecs/_codecs_cn.c +++ b/Modules/cjkcodecs/_codecs_cn.c @@ -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; |