2022-04-25 19:34:35 +02:00

66 lines
2.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:::{note} You are reading the help for the development version. **The current release version is Neırssi 1.3.**
:::
# recode
<!-- comment
Please submit changes to
- https://github.com/ailin-nemui/irssi/blob/master/docs/help/in/recode.in
- https://github.com/ailin-nemui/irssi/blob/master/src/fe-common/core/fe-recode.c
endcomment -->
## Syntax ##
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:5ch"><code><span class="synB">RECODE</span></code></pre></div>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:10ch"><code><span class="synB">RECODE</span> <span class="synB">ADD</span> <span class="syn10">[<span class="syn14">[<span class="syn13">&lt;tag></span><span class="synB">/</span>]</span><span class="syn09">&lt;target></span>]</span> <span class="synB05">&lt;charset></span></code></pre></div>
<div class="irssisyntax highlight"><pre style="\-\-cmdlen:13ch"><code><span class="synB">RECODE</span> <span class="synB">REMOVE</span> <span class="syn10">[<span class="syn09">&lt;target></span>]</span></code></pre></div>
## Parameters ##
| | |
| --- | --- |
| `ADD`: | Adds an entry into the conversion database. |
| `REMOVE`: | Removes an entry from the conversion database. |
The network tag and channel or nickname to add or remove; if no target is
given, the active nickname or channel will be used.
## Description ##
Recodes the data transmitted to and received from nicknames and channels
into a specific charset.
To get a list of supported charsets on your system, you can generally use
the 'iconv -l' command.
## Examples ##
/RECODE
/RECODE ADD liberachat/mike utf-8
/RECODE ADD #korea euc-kr
/RECODE REMOVE #korea
## Special Examples ##
/SET term_charset utf-8
/SET recode_fallback ISO-8859-15
/SET recode_out_default_charset ISO-8859-15
/TOGGLE recode_transliterate
/TOGGLE recode_autodetect_utf8
## See also ##
[CONNECT](/documentation/help/connect), [MSG](/documentation/help/msg), [NETWORK](/documentation/help/network), [SERVER](/documentation/help/server)