From e92a63427f2f3d45646cf0ffc107cf3f0a279f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 29 Jun 2015 22:33:41 +0200 Subject: doc: add question about unicode chars and libc (wcwidth) in FAQ --- doc/en/weechat_faq.en.asciidoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/en') diff --git a/doc/en/weechat_faq.en.asciidoc b/doc/en/weechat_faq.en.asciidoc index 0de8ba0a3..5c6bc07c2 100644 --- a/doc/en/weechat_faq.en.asciidoc +++ b/doc/en/weechat_faq.en.asciidoc @@ -108,6 +108,18 @@ UTF-8 locale is recommended for WeeChat. If you're using ISO or other locale, please check that *all* your settings (terminal, screen, ..) are ISO and *not* UTF-8. +[[unicode_chars]] +=== Some unicode chars are displayed in terminal but not in WeeChat, why? + +This may be caused by a libc bug in function 'wcwidth', which should be fixed +in glibc 2.22 (maybe not yet available in your distribution). + +There is a workaround to use the fixed 'wcwidth' function: +https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat + +See this bug report for more information: +https://github.com/weechat/weechat/issues/79 + [[bars_background]] === Bars like title and status are not filled, background color stops after text, why? -- cgit v1.2.3