dart-lang / convert

Conversion utilities
https://pub.dev/packages/convert
BSD 3-Clause "New" or "Revised" License
71 stars 25 forks source link

Provide a user-accessible script to generate encodings from Unicode.org mappings. #94

Open brianquinlan opened 11 months ago

brianquinlan commented 11 months ago

The script would:

This would allow developers to generate CodePages for encodings not supported by package:convert.

See discussion at https://github.com/dart-lang/convert/pull/93#issuecomment-1802434604

brianquinlan commented 11 months ago

FWIW, the Python approach is to download the entire mappings directory and then choose what encodings to build: https://github.com/python/cpython/blob/6f09f69b7f85962f66d10637c3325bbb2b2d9853/Tools/unicode/Makefile#L23