pub static GBK: &'static Encoding
The GBK encoding.
The decoder for this encoding is the same as the decoder for gb18030. The encoder side of this encoding is GBK with Windows code page 936 euro sign behavior. GBK extends GB2312-80 to cover the CJK Unified Ideographs Unicode block as well as a handful of ideographs from the CJK Unified Ideographs Extension A and CJK Compatibility Ideographs blocks.
Unlike e.g. in the case of ISO-8859-1 and windows-1252, GBK encoder wasn't unified with the gb18030 encoder in the Encoding Standard out of concern that servers that expect GBK form submissions might not be able to handle the four-byte sequences.
The encoder of this encoding roughly matches the Windows code page 936. The decoder side is a superset.
This will change from
const if Rust changes
to make the referent of
pub const FOO: &'static Encoding
unique cross-crate, so don't take the address of this