mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
7be7dd374c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
|
|
@SYNTAX:recode@
|
|
|
|
RECODE
|
|
%|List the conversion database
|
|
|
|
RECODE ADD %|[[<tag>/]<target>] <charset>
|
|
%|Add an entry to the conversion database (if target is omitted,
|
|
the current channel or query will be used). You can specify the
|
|
<tag> to have different charsets for the same <target> for
|
|
different networks.
|
|
|
|
RECODE REMOVE %|[<target>]
|
|
%|Remove an entry from the conversion database (if target is
|
|
omitted, the current channel or query will be used)
|
|
|
|
To specify your local charset you have to set term_charset
|
|
|
|
Example:
|
|
|
|
/SET term_charset <charset>
|
|
|
|
To see the recode settings: /SET recode
|
|
|
|
You can change them with /SET
|
|
|
|
Examples:
|
|
|
|
/SET recode_fallback <charset>
|
|
to set the fallback charset for incoming events
|
|
|
|
This charset is used if your term_charset is UTF-8
|
|
and the conversion for the target is not set and
|
|
the text is not UTF-8.
|
|
|
|
/SET recode_out_default_charset <charset>
|
|
to set the global outgoing charset
|
|
|
|
When it's set to a charset it will be used
|
|
if no conversion for the target is set.
|
|
|
|
/SET recode_transliterate ON
|
|
to enable the global transliteration.
|
|
|
|
The transliteration is based on your locale settings,
|
|
if it doesn't work properly your locale settings may be wrong.
|
|
You can enable it per target by adding //TRANSLIT to the <charset>
|
|
|
|
Hint: <charset> can be almost everything listed by 'iconv -l'
|
|
|
|
See also: NETWORK
|
|
|