emscripten-core / emscripten-core/emscripten

Encoding conversion with iconv failed.

Abierto
#17,570 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
27.6k
Forks
3.6k
Merge medio
1 d 16 h
PR fusionados (30 d)
117

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start with the iconv_open entry point and the reported `(charmaps[t] >= 0330)` check in Emscripten's iconv implementation. Inspect how supported charmaps are defined and how GB18030 is handled; done means establishing whether GB18030 should be supported and resolving or documenting the reported conversion failure.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
cpp, wasm
Área
internationalization
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.