1) ICU should be optional

If configured --without-icu the Makefile shouldn't contain ICU stuff, and function calls to ICU (mainly in string_primitives) should be wrapped inside #if PARROT_HAS_ICU.

2) complete src/encoding.c

encoding registering, lookup, deinit, and opcodes can follow the scheme used in src/charset.c.

3) trans_encode opcodes to change a strings encoding (s. trans_charset)

4) imcc syntax to specify encoding. I'm thinking of:

   [charset:][encoding:]"string"

so both charset and encoding are optional but can be specified. Usually just one is needed:

   iso-8859-1:"Tötsch"

but

   utf8:"T\xc3\xb6tsch"

Currently only a charset can be specified.

5) implement UTF-16 encodings.

Takers wanted,
leo



Reply via email to