Crate rust_icu_ucnvsource ·
ICU character conversion support for rust
This crate provides character encoding translation,
based on the conversion functions implemented by the ICU library.
Specifically the functionality exposed through its C API, as available in the header
The main type is UConverter, which can be created using
UConverter::open with an encoding
name (as a
&str). This type provides conversion functions between UTF-16 and the
This crate also provides utf8::Converter as a convenience type to work directly with UTF-8
strings, such as with Rust’s
For more information on ICU conversion, an interested reader can check out the conversion documentation on the ICU user guide.
Are you missing some features from this crate? Consider reporting an issue or even contributing the functionality.
- See aliases()
- The result of a feed/stream operation on a converter.
- The converter type that provides conversion to/from UTF-16.
- Get an iterator over all aliases for the provided converter name (which may not necessarily be the canonical converter name).
- Get an iterator over all canonical converter names available to ICU.