Expand description
This implements conversion to and from UTF-8, as well as to and from the dcBasenb format (which is implemented as a private-use extension of UTF-8).
Structs§
Functions§
- dca_
from_ utf8 - Decode UTF-8 bytes to an internal Dc array, honoring dcBasenb embedding.
Translation of original
dcaFromUtf8. Should return anOk()result for all inputs;Err()should only occur for internal errors (= bugs). - dca_
to_ utf8 - Convert an internal Dc array to UTF-8 bytes, optionally embedding unmappable Dcs inside dcBasenb armored regions.
- utf8_
variant_ settings - Retrieve enabled UTF-8 variant settings for a direction (“in” / “out”)