iconv: illegal input sequence
Lokesh Janghel
lokeshjanghel91@gmail.com
Wed Mar 10 09:09:27 GMT 2021
Hi,
I am working on the charset conversion from cp932 to utf8.
And got the following problem with gcc-8.3:
$ccppc -E test.cxx -finput-charset=cp932
cc1plus: error: conversion from cp932 to UTF-8 not supported by iconv
And I am facing error like "iconv: illegal input sequence at position 85"
When I try to convert with:
$iconv -f cp932 -t utf8 test.cxx
Can you help me with the issue if I am following the wrong step or
missing something?
Please let me know your thoughts on the problem.
Thanks and regards,
Lokesh Janghel
-------------- next part --------------
#if 0
#include <vxWorks.h>
#include <stdio.h>
#endif
void test_sjis()
{
printf("�����Shift-JIS�̃e�X�g�ł��B\n");
}
More information about the Libc-alpha
mailing list