emscripten-core / emscripten-core/emscripten
Encoding conversion with iconv failed.
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Please include the following in your bug report:
**Version of emscripten/emsdk:**
v3.1.0
I use "iconv_open("GB18030", "UTF-8"));"
`iconv_t iconv_open(const char *to, const char *from)
{
size_t f, t;
struct stateful_cd *scd;
if ((t = find_charmap(to))==-1
|| (f = find_charmap(from))==-1
|| (charmaps[t] >= 0330)) {
errno = EINVAL;
return (iconv_t)-1;
}`
Why do have this judgment: (charmaps[t] >= 0330), so I cant't convert to GB18030.
Is it not support?
Contributor guide
Assessment
This issue has not been assessed yet.