From 0ad49d15291ad8c79e62e4491a41266ec0badc60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 19 Aug 2017 17:26:53 +0200 Subject: doc: add "locale -a" and command to set $LANG in FAQ --- doc/en/weechat_faq.en.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/en/weechat_faq.en.adoc') diff --git a/doc/en/weechat_faq.en.adoc b/doc/en/weechat_faq.en.adoc index 32a626a67..2fe0a555a 100644 --- a/doc/en/weechat_faq.en.adoc +++ b/doc/en/weechat_faq.en.adoc @@ -92,7 +92,9 @@ It's common issue, please read carefully and check *ALL* solutions below: not, then you probably need the "weechat-plugins" package). * Check the output of command `/charset` (on core buffer). You should see _ISO-XXXXXX_ or _UTF-8_ for terminal charset. If you see _ANSI_X3.4-1968_ or - other values, your locale is probably wrong (fix your $LANG). + other values, your locale is probably wrong. + + To fix your locale, check the installed locales with `locale -a` and set + an appropriate value in $LANG, for example: `export LANG=en_US.UTF-8`. * Setup global decode value, for example: `/set charset.default.decode "ISO-8859-15"`. * If you are using UTF-8 locale: -- cgit v1.2.3