Next: mailcap, Previous: yenc, Up: Basic Functions

### 4.11 rfc1843

RFC1843 deals with mixing Chinese and ASCII characters in messages. In essence, RFC1843 switches between ASCII and Chinese by doing this:

         This sentence is in ASCII.
         The next sentence is in GB.~{<:Ky2;S{#,NpJ)l6HK!#~}Bye.

Simple enough, and widely used in China.

The following functions are available to handle this encoding:

`rfc1843-decode-region`
  Decode HZ-encoded text in the region.
`rfc1843-decode-string`
  Decode a HZ-encoded string and return the result.