diff options
Diffstat (limited to 'iconvdata/euc-kr.c')
-rw-r--r-- | iconvdata/euc-kr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iconvdata/euc-kr.c b/iconvdata/euc-kr.c index 4f51170..f74d774 100644 --- a/iconvdata/euc-kr.c +++ b/iconvdata/euc-kr.c @@ -33,6 +33,8 @@ euckr_from_ucs4 (uint32_t ch, unsigned char *cp) cp[0] |= 0x80; cp[1] |= 0x80; } + else + cp[0] = '\0'; } /* XXX Think about 0x5c ; '\'. */ else |