4 releases (2 breaking)

0.3.2 Oct 21, 2020
0.3.1 Jan 15, 2020
0.2.0 Nov 13, 2019
0.1.1 Nov 11, 2019
0.1.0 Aug 3, 2018

#596 in Encoding

Download history 1452/week @ 2023-02-01 1377/week @ 2023-02-08 1562/week @ 2023-02-15 2349/week @ 2023-02-22 1959/week @ 2023-03-01 1951/week @ 2023-03-08 1916/week @ 2023-03-15 1872/week @ 2023-03-22 1456/week @ 2023-03-29 1519/week @ 2023-04-05 1486/week @ 2023-04-12 1699/week @ 2023-04-19 1861/week @ 2023-04-26 1895/week @ 2023-05-03 2021/week @ 2023-05-10 1879/week @ 2023-05-17

7,998 downloads per month
Used in 11 crates (4 directly)

MPL-2.0 license

9KB
158 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

~28KB