1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 10:43:13 +02:00

charset: fix /help charset.default.decode

The charset is used only when the message is not UTF-8 valid.
This commit is contained in:
Sébastien Helleu
2014-04-12 17:32:33 +02:00
parent c5583b064a
commit 51d18c92e5
19 changed files with 48 additions and 47 deletions
+1 -2
View File
@@ -213,8 +213,7 @@ charset_config_init ()
charset_config_file, ptr_section,
"decode", "string",
N_("global decoding charset: charset used to decode incoming messages "
"(if decoding fails, fallback is UTF-8 because it is the WeeChat "
"internal charset)"),
"when they are not UTF-8 valid"),
NULL, 0, 0,
(charset_terminal && charset_internal
&& (weechat_strcasecmp (charset_terminal,