diff options
Diffstat (limited to 'misc/charset_conv.c')
-rw-r--r-- | misc/charset_conv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/charset_conv.c b/misc/charset_conv.c index b54f6362b6..2363ccaf80 100644 --- a/misc/charset_conv.c +++ b/misc/charset_conv.c @@ -21,11 +21,11 @@ #include <stdlib.h> #include <errno.h> -#include <strings.h> #include <assert.h> #include "config.h" +#include "common/common.h" #include "common/msg.h" #if HAVE_UCHARDET @@ -165,7 +165,7 @@ bstr mp_iconv_to_utf8(struct mp_log *log, bstr buf, const char *cp, int flags) // Force CP949 over EUC-KR since iconv distinguishes them and // EUC-KR causes error on CP949 encoded data if (strcasecmp(cp, "EUC-KR") == 0) - cp = "CP949"; + cp = "CP949"; iconv_t icdsc; if ((icdsc = iconv_open("UTF-8", cp)) == (iconv_t) (-1)) { |