#utf-8 #unicode #no-std #byte-sequences #text #rfc2279

no-std utf8-rfc2279

An implementation of UTF-8 according to the obsolete RFC2279

1 unstable release

0.1.0 Feb 6, 2022

#2398 in Encoding

MIT/Apache

8KB
61 lines

utf8-rfc2279

An implementation of UTF-8 encoding, according to the obsolete RFC2279.
The main difference between utf8-rfc2279 and an implementation of RFC3629 is that utf8-rfc2279 does not check for valid byte sequences and has a length limit of 6 bytes instead of 4.

Do not use this crate as a regular UTF-8 encoder without additional checks! Rust's standard library handles this for you.

no_std

utf8-rfc2279 is no_std and has no allocations, as it does not need them.

License

Licensed under either of:

at your option.

Dependencies

~250KB