5 unstable releases

0.3.3 Apr 6, 2024
0.3.2 Oct 21, 2020
0.3.1 Jan 15, 2020
0.2.0 Nov 13, 2019
0.1.0 Aug 3, 2018

#179 in Encoding

Download history 5779/week @ 2024-01-03 5267/week @ 2024-01-10 7424/week @ 2024-01-17 6803/week @ 2024-01-24 7992/week @ 2024-01-31 9423/week @ 2024-02-07 9747/week @ 2024-02-14 9288/week @ 2024-02-21 8408/week @ 2024-02-28 10246/week @ 2024-03-06 10447/week @ 2024-03-13 9651/week @ 2024-03-20 9703/week @ 2024-03-27 9287/week @ 2024-04-03 8288/week @ 2024-04-10 7773/week @ 2024-04-17

36,439 downloads per month
Used in 13 crates (5 directly)

MPL-2.0 license

13KB
223 lines

ucs2-rs

UCS2 crate on crates.io UCS2 docs on docs.rs Licensed under MPL-2.0

UCS-2 handling for Rust.

Note that UCS-2 is the predecessor of UTF-16. It is a fixed-length encoding, and it is used for things like UEFI.

History

This crate arose out of the needs of the uefi-rs crate. The code was extracted and placed here for easier maintenance and easier reuse.

Most of the initial code has been contributed by FredrikAleksander.

License

Licensed under the Mozilla Public License 2.0. See the LICENSE file for the full text.


lib.rs:

Utility functions for the UCS-2 character encoding.

Dependencies

~29KB