Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 6e3aca60faf12ac4eec022ca2367a995583877db Mon Sep 17 00:00:00 2001
- From: Will Dietz <w@wdtz.org>
- Date: Mon, 21 May 2018 17:06:29 -0500
- Subject: [PATCH] iconv: fix special hkscs conversions
- ---
- src/locale/iconv.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/src/locale/iconv.c b/src/locale/iconv.c
- index 3a34395c..05d42095 100644
- --- a/src/locale/iconv.c
- +++ b/src/locale/iconv.c
- @@ -461,7 +461,7 @@ size_t iconv(iconv_t cd, char **restrict in, size_t *restrict inb, char **restri
- if (totype-0300U > 8) k = 2;
- else k = "\10\4\4\10\4\4\10\2\4"[totype-0300];
- if (k > *outb) goto toobig;
- - x += iconv(combine_to_from(to, 0),
- + x += iconv(combine_to_from(to, find_charmap("utf8")),
- &(char *){"\303\212\314\204"
- "\303\212\314\214"
- "\303\252\314\204"
- --
- 2.17.0
Add Comment
Please, Sign In to add comment