/[gentoo]/xml/htdocs/doc/en/utf-8.xml
Gentoo

Diff of /xml/htdocs/doc/en/utf-8.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.54 Revision 1.55
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.54 2010/09/20 07:54:51 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/utf-8.xml,v 1.55 2011/03/08 18:16:32 nightmorph Exp $ -->
4 4
5<guide> 5<guide>
6<title>Using UTF-8 with Gentoo</title> 6<title>Using UTF-8 with Gentoo</title>
7 7
8<author title="Author"> 8<author title="Author">
26 26
27<!-- The content of this document is licensed under the CC-BY-SA license --> 27<!-- The content of this document is licensed under the CC-BY-SA license -->
28<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 28<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
29<license /> 29<license />
30 30
31<version>3</version> 31<version>4</version>
32<date>2010-09-20</date> 32<date>2011-03-08</date>
33 33
34<chapter> 34<chapter>
35<title>Character Encodings</title> 35<title>Character Encodings</title>
36<section> 36<section>
37<title>What is a Character Encoding?</title> 37<title>What is a Character Encoding?</title>
562Vim provides full UTF-8 support, and also has builtin detection of UTF-8 files. 562Vim provides full UTF-8 support, and also has builtin detection of UTF-8 files.
563For further information in Vim, use <c>:help mbyte.txt</c>. 563For further information in Vim, use <c>:help mbyte.txt</c>.
564</p> 564</p>
565 565
566<p> 566<p>
567Emacs 22.x and higher has full UTF-8 support as well. Xemacs 22.x does not 567Emacs version 23 and Xemacs version 21.5 have full UTF-8 support. Emacs 24 will
568support combining characters yet. 568also support editing bidirectional text.
569</p>
570
571<p> 569</p>
572Lower versions of Emacs and/or Xemacs might require you to install
573<c>app-emacs/mule-ucs</c> and/or <c>app-xemacs/mule-ucs</c>
574and add the following code to your <path>~/.emacs</path> to have support for CJK
575languages in UTF-8:
576</p>
577
578<pre caption="Emacs CJK UTF-8 support">
579(require 'un-define)
580(require 'jisx0213)
581(set-language-environment "Japanese")
582(set-default-coding-systems 'utf-8)
583(set-terminal-coding-system 'utf-8)
584</pre>
585 570
586<p> 571<p>
587Nano has provided full UTF-8 support since version 1.3.6. 572Nano has provided full UTF-8 support since version 1.3.6.
588</p> 573</p>
589 574

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

  ViewVC Help
Powered by ViewVC 1.1.20