Static encoding_rs::EUC_JP
source · pub static EUC_JP: &'static Encoding
Expand description
The EUC-JP encoding.
This is the legacy Unix encoding for Japanese.
For compatibility with Web servers that don’t expect three-byte sequences in form submissions, the encoder doesn’t generate three-byte sequences. That is, the JIS X 0212 support is decode-only.
Index visualization, Visualization of BMP coverage
This encoding roughly matches the Windows code page 20932. There are error handling differences and a handful of 2-byte sequences that decode differently. Additionall, Windows doesn’t support 3-byte sequences.
This will change from static
to 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
static
.