emscripten-core / emscripten-core/emscripten

Encoding conversion with iconv failed.

Aperta
#17,570 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
27.6k
Fork
3.6k
Merge medio
1g 6h
PR unite (30g)
109

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.