Converting ISO-2022-JP to UTF-8 and back

Suppose that ISO-2022-JP is used locally, but that a site wishes to convert to UTF-8 for use on the Internet. In particular, suppose at this site the channel used to send to the Internet is  ,    channels  are used to deliver to local users, and local  users&#x27; submitted messages are submitted via   and.

 Example of Converting ISO-2022-JP to and     from UTF-8

CHARSET-CONVERSION ! Entries selecting message traffic eligible for charset conversion !   IN-CHAN=tcp_submit;OUT-CHAN=tcp_local;CONVERT    Yes IN-CHAN=tcp_auth;OUT-CHAN=tcp_local;CONVERT     Yes IN-CHAN=tcp_local;OUT-CHAN=tcp_lmtpcs&#x2a;;CONVERT  Yes ! ! Disable charset conversion for all other message traffic !   IN-CHAN=&#x2a;;OUT-CHAN=&#x2a;;CONVERT                     No  ! ! Details of which charset to convert to which other charset !   IN-CHAN=tcp_submit;OUT-CHAN=tcp_local;IN-CHARSET=ISO-2022-JP   \ OUT-CHARSET=UTF-8 IN-CHAN=tcp_auth;OUT-CHAN=tcp_local;IN-CHARSET=ISO-2022-JP    \ OUT-CHARSET=UTF-8 IN-CHAN=tcp_local;OUT-CHAN=tcp_lmtpcs&#x2a;;IN-CHARSET=UTF-8       \ OUT-CHARSET=ISO-2022-JP

See also:
 * Typical TCPIP channels and servers
 * LMTP client TCPIP channels
 * Character set conversion