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

#186 in Encoding

Download history 8957/week @ 2024-02-26 9693/week @ 2024-03-04 10363/week @ 2024-03-11 10037/week @ 2024-03-18 8948/week @ 2024-03-25 10158/week @ 2024-04-01 8439/week @ 2024-04-08 8898/week @ 2024-04-15 9881/week @ 2024-04-22 8602/week @ 2024-04-29 9321/week @ 2024-05-06 10824/week @ 2024-05-13 8891/week @ 2024-05-20 8151/week @ 2024-05-27 8056/week @ 2024-06-03 9665/week @ 2024-06-10

35,382 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