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

#197 in Encoding

Download history 13103/week @ 2024-08-09 12660/week @ 2024-08-16 13737/week @ 2024-08-23 10508/week @ 2024-08-30 10128/week @ 2024-09-06 8808/week @ 2024-09-13 11476/week @ 2024-09-20 9684/week @ 2024-09-27 12301/week @ 2024-10-04 10062/week @ 2024-10-11 12206/week @ 2024-10-18 12083/week @ 2024-10-25 12713/week @ 2024-11-01 11327/week @ 2024-11-08 9714/week @ 2024-11-15 7948/week @ 2024-11-22

43,515 downloads per month
Used in 14 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