Internationalization
********************
For emacs variants includes mule feature, such as MULE (*Note
(tm-en)MULE::), XEmacs/mule and Emacs/mule(*1), gnus-mime supports
code-conversion by MIME charset (See (tm-en)MIME charset) or
`default-mime-charset' of selected newsgroup.
*[Memo]*
(*1) It means next generation of Emacs includes mule features. Now
(October 1996), HANDA Ken'ichi and RMS are developing it.
Detail of code conversion is following:
1. If a newsgroup is selected, MIME charset for the newsgroup is
searched from `gnus-newsgroup-default-charset-alist'. If it is
found, it is set to buffer local variable `default-mime-charset'
of Summary Buffer. If not found, global value of
`default-mime-charset' is used.
2. Non-ASCII characters in Summary Buffer are code-converted by
`default-mime-charset' in Summary Buffer.
3. encoded-word (See (tm-en)encoded-word) are code-converted by
their specified MIME charset (See (tm-en)MIME charset).
4. Code-conversion of articles are following:
1. If a part of a MIME message has charset parameter of
Content-Type field (See (tm-en)Content-Type field), it is
code-converted by the MIME charset.
2. When there are no specified MIME charset, such as message
header or non-MIME message, they are code-converted by
`default-mime-charset' in Summary Buffer.
- Variable: gnus-newsgroup-default-charset-alist
Association-list regexp for newsgroup vs. symbol for default MIME
charset.
Default setting are following:
`alt.chinese.*'
hz-gb-2312 (See (tm-en)hz-gb-2312)
`alt.chinese.text.big5, hk.*, hkstar.*, tw.*'
cn-big5 (See (tm-en)cn-big5)
`fj.*'
iso-2022-jp-2 (See (tm-en)iso-2022-jp-2)
`han.*'
euc-kr (See (tm-en)euc-kr)
`relcom.*'
koi8-r (See (tm-en)koi8-r)
If there is no MIME charsets for a newsgroup,
`default-mime-charset' is used as default MIME charset.
- Function: gnus-set-newsgroup-default-charsetnewsgroup CHARSET
Set default MIME CHARSET of NEWSGROUP to
`gnus-newsgroup-default-charset-alist'.
NEWSGROUP is string of newsgroup name or category, for
`"gnu.emacs.gnus"', `"gnu.emacs"', `"gnu"'.
CHARSET is symbol of MIME charset, for example `iso-8859-1',
`iso-2022-jp'.