swift 05/07/02 11:55:16 Modified: xml/htdocs/doc/en utf-8.xml Log: #96836 - Add more information on UTF-8 support for (X)Emacs
Revision Changes Path 1.27 +25 -6 xml/htdocs/doc/en/utf-8.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/utf-8.xml?rev=1.27&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/utf-8.xml?rev=1.27&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/utf-8.xml.diff?r1=1.26&r2=1.27&cvsroot=gentoo Index: utf-8.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- utf-8.xml 24 Jun 2005 19:30:27 -0000 1.26 +++ utf-8.xml 2 Jul 2005 11:55:16 -0000 1.27 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.26 2005/06/24 19:30:27 fox2mike Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.27 2005/07/02 11:55:16 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/utf-8.xml"> @@ -25,8 +25,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license /> -<version>2.6</version> -<date>2005-06-25</date> +<version>2.7</version> +<date>2005-07-02</date> <chapter> <title>Character Encodings</title> @@ -533,12 +533,31 @@ <body> <p> -Vim, Emacs and Xemacs provide full UTF-8 support, and also have builtin -detection of UTF-8 files. For further information in Vim, use <c>:help -mbyte.txt</c>. +Vim provides full UTF-8 support, and also has builtin detection of UTF-8 files. +For further information in Vim, use <c>:help mbyte.txt</c>. </p> <p> +Emacs 22.x and higher has full UTF-8 support as well. Xemacs 22.x does not +support combining characters yet. +</p> + +<p> +Lower versions of Emacs and/or Xemacs might require you to install +<c>app-emacs/mule-ucs</c> and/or <c>app-xemacs/mule-ucs</c> +and add the following code to your <path>~/.emacs</path> to have support for CJK +languages in UTF-8: +</p> + +<pre caption="Emacs CJK UTF-8 support"> +(require 'un-define) +(require 'jisx0213) +(set-language-environment "Japanese") +(set-default-coding-systems 'utf-8) +(set-terminal-coding-system 'utf-8) +</pre> + +<p> Nano currently does not provide support for UTF-8, although it has been planned for a long time. With luck, this will change in future. At the time of writing, UTF-8 support is in Nano's CVS, and should be included in the next release. -- [email protected] mailing list
