Merge remote-tracking branch 'origin/upstream' am: c5af6baf43 am: 6b78803176

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/ucs2/+/30288757

Change-Id: I8fdd784b27a2db525e35404850caccdbd38cf901
Signed-off-by: Automerger Merge Worker <[email protected]>
tree: 0e6d9971d4ea8e203593c525fdb9b2df0ac84ee2
  1. src/
  2. tests/
  3. Cargo.toml
  4. Cargo.toml.orig
  5. CHANGELOG.md
  6. LICENSE
  7. METADATA
  8. MODULE_LICENSE_MPL
  9. OWNERS
  10. README.md
README.md

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.