polardbxengine/extra/duktape/duktape-2.3.0/examples/codepage-conv
dengwendi 1d6524707e INIT 2023-11-15 15:04:10 +08:00
..
README.rst INIT 2023-11-15 15:04:10 +08:00
duk_codepage_conv.c INIT 2023-11-15 15:04:10 +08:00
duk_codepage_conv.h INIT 2023-11-15 15:04:10 +08:00
test.c INIT 2023-11-15 15:04:10 +08:00

README.rst

Codepage conversion example
===========================

Example of how to convert an 8-bit input string (e.g. ISO-8859-1 or Windows
codepage 1252) into CESU-8 without using an external library like iconv.

This is useful e.g. when compiling non-UTF-8 source code which cannot be
converted to UTF-8 (CESU-8) at build time.