encoding-utils

Crates.ioencoding-utils
lib.rsencoding-utils
version0.1.0
sourcesrc
created_at2024-07-16 13:27:15.116435
updated_at2024-07-16 13:27:15.116435
descriptionA utils to help with encoding and decoding os strings and more.
homepagehttps://docs.rs/encoding-utils
repositoryhttps://github.com/greenhat616/encoding-utils
max_upload_size
id1305029
size3,554
Jonson Petard (greenhat616)

documentation

https://docs.rs/encoding-utils

README

Encoding utils

A utils to help with encoding and decoding os strings and more.

  • on windows it will use GetACP to get the code page, and return the Encoding instance from encoding_rs crate.
  • on linux, we should detect the encoding from the locale, and return the Encoding instance from encoding_rs crate.
  • on macOs, it seems that the encoding is always UTF-8, so we can always get the Encoding instance from encoding_rs crate.
Commit count: 0

cargo fmt