lifthrasiir / rust-encoding

Character encoding support for Rust
MIT License
284 stars 59 forks source link

Make hz-gb-2312 appear as replacement for WHATWG. #85

Closed aneeshusa closed 9 years ago

aneeshusa commented 9 years ago

Fixes #84.

Keep the current HZ implementation, but surface hz-gb-2312 as replacement in encoding_from_whatwg_label to match the spec.

This maintains WHATWG compatibility and also allows use of the actual HZ encoding/decoding implementation.

lifthrasiir commented 9 years ago

Thank you!