[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] utf-8 newbie
From: |
Paul Fox |
Subject: |
Re: [vile] utf-8 newbie |
Date: |
Thu, 10 May 2012 18:17:39 -0400 |
hi tom --
here's a small vile.hlp patch that i think would have helped me figure
out what was needed for utf-8 to work.
paul
=---------------------
paul fox, address@hidden (arlington, ma, where it's 55.6 degrees)
--- vile.hlp.orig 2012-05-10 18:03:01.000000000 -0400
+++ vile.hlp 2012-05-10 18:16:53.000000000 -0400
@@ -2509,18 +2509,21 @@
above). Useful values for these settings are 160 and 255, which correspond
to the printable range of the ISO-Latin-1 character set.
- If your locale (e.g., the LANG or LC_CTYPE environment variable on a POSIX
- platform) is configured properly, the "printing-low" and "printing-high"
- settings are not needed. vile initializes its character type tables based
- on the system. You can make finer adjustments to those tables as described
- in "Character Classes".
+ If your locale is configured properly, the "printing-low" and
+ "printing-high" settings are not needed. vile initializes its character
+ type tables based on the system. You can make finer adjustments to those
+ tables as described in "Character Classes".
- If your terminal (and locale) are set up to support UTF-8, vile can
- display files which use that encoding. It can also display UTF-16 and
- UTF-32 files using UTF-8. When the terminal/locale do not support UTF-8
- vile displays the wide characters as hexadecimal codes, e.g., \u1234. Even
- when vile can display wide characters, you can force it to display the
- hexadecimal codes with the "unicode-as-hex" mode.
+ vile will check for locale configuration in the LC_ALL, LC_CTYPE,
+ and LANG environment variables, in that order.
+
+ If your terminal and locale (as specified in the above variables) are set
+ up to support UTF-8, vile can display files which use that encoding. It
+ can also display UTF-16 and UTF-32 files using UTF-8. When the
+ terminal/locale do not support UTF-8 vile displays the wide characters as
+ hexadecimal codes, e.g., \u1234. Even when vile can display wide
+ characters, you can force it to display the hexadecimal codes with the
+ "unicode-as-hex" mode.
See UTF-8 Support versus Driver in config.doc for an overview of the
terminal drivers.