1 unstable release
0.1.0 | Jul 16, 2024 |
---|
#2316 in Encoding
90 downloads per month
4KB
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 theEncoding
instance fromencoding_rs
crate. - on linux, we should detect the encoding from the locale, and return the
Encoding
instance fromencoding_rs
crate. - on macOs, it seems that the encoding is always
UTF-8
, so we can always get theEncoding
instance fromencoding_rs
crate.
Dependencies
~3–11MB
~176K SLoC