Registry / utility / encoding-rs

encoding-rs

JSON →
library0.8.35rscratesunverified

A Gecko-oriented implementation of the Encoding Standard for character encoding conversion.

# Cargo.toml [dependencies] encoding_rs = "0.8.35"
INSTALL
IMPORT
SIG · ENCODING-RS
E
encoding-rs
utilityrustv0.8.35
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Encoding
use encoding_rs::Encoding;

Looks up an encoding by label and prints its name.

use encoding_rs::Encoding; fn main() { let encoding = Encoding::for_label(b"utf-8").unwrap(); println!("Encoding name: {}", encoding.name()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.35latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources