Since 4.06 we have UTF-X encoding support via the Buffer
module. The
following is a proposal to add UTF-X decoding (and bytes
encoding)
support with the following goals:
- Provide a low-level, allocation-free codec API in
bytes
. This API provides all the information needed to implement loops for making higher-level UTF-X codec APIs (e.g.Uutf
's folding functions) operating onbytes
andstring
values. It's not geared towards the end-user