about summary refs log tree commit diff
path: root/Etc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-12-18 19:47:13 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-12-18 19:47:13 +0000
commitf3100e855ac8f16c83d7d7b1ae485601804e762d (patch)
treee9b6a7ceb5bd4977720061bd230dda37d96e5ca8 /Etc
parente56c3b8214174f3684767dcad860c5ea69829509 (diff)
downloadzsh-f3100e855ac8f16c83d7d7b1ae485601804e762d.tar.gz
zsh-f3100e855ac8f16c83d7d7b1ae485601804e762d.tar.xz
zsh-f3100e855ac8f16c83d7d7b1ae485601804e762d.zip
22095: more multibyte notes.
Diffstat (limited to 'Etc')
-rw-r--r--Etc/FAQ.yo20
1 files changed, 19 insertions, 1 deletions
diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo
index 4d098e840..7463b085a 100644
--- a/Etc/FAQ.yo
+++ b/Etc/FAQ.yo
@@ -2071,7 +2071,25 @@ sect(How do I ensure multibyte input works on my system?)
    it() The terminal emulator.  Those that are supplied with a recent
       desktop environment, such as gnome-terminal, are likely to have
       extensive support for localization and may work correctly as soon
-      as they know the locale.
+      as they know the locale.  You can enable UTF-8 support for
+      tt(xterm) in its application defaults file.  The following are
+      the relevant resources; you donʼt actually need all of them, as
+      described below.  If you use a mytt(~/.Xdefaults) or
+      mytt(~/.Xresources) file for setting resources, prefix all the lines
+      with mytt(xterm):
+      verb(
+        *wideChars: true
+        *locale: true
+        *utf8: 1
+        *vt100Graphics: true
+      )
+      This turns on support for wide characters (this is enabled by the
+      tt(utf8) resource, too); enables conversions to UTF-8 from other
+      locales (this is the key resource and actually overrides
+      mytt(utf8)); turns on UTF-8 mode (this resource is mostly used to
+      force use of UTF-8 characters if your locale system isnʼt up to it);
+      and allows certain graphic characters to work even with UTF-8
+      enabled.  (Thanks to Phil Pennock for suggestions.)
    it() The font.  If you selected this from a menu in your terminal
       emulator, there's a good chance it already selected the right
       character set to go with it.  If you hand-picked an old fashioned