Struct encoding::codec::simpchinese::HZEncoding
[−]
[src]
pub struct HZEncoding;
HZ. (RFC 1843)
This is a simplified Chinese encoding based on GB 2312.
It bears a resemblance to ISO 2022 encodings in such that the printable escape sequences ~{
and ~}
are used to delimit a sequence of 7-bit-safe GB 2312 sequences. For the comparison,
they are equivalent to ISO-2022-CN escape sequences ESC $ ) A
and ESC ( B
.
Additional escape sequences ~~
(for a literal ~
) and ~\n
(ignored) are also supported.