changeset 745:4aa6e26cd8ba

[xemacs-hg @ 2002-02-06 16:27:05 by stephent] Unicode FAQs <87lme6pxac.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 06 Feb 2002 16:27:06 +0000
parents 8ae895c67ce7
children b13b1b7b11f1
files man/ChangeLog man/xemacs-faq.texi
diffstat 2 files changed, 53 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Mon Feb 04 15:44:52 2002 +0000
+++ b/man/ChangeLog	Wed Feb 06 16:27:06 2002 +0000
@@ -1,3 +1,7 @@
+2002-02-06  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* xemacs-faq.texi (Q1.3.8, Q1.3.9): Unicode support via Mule-UCS.
+
 2001-01-24  Adrian Aichner  <adrian@xemacs.org>
 
 	* xemacs-faq.texi (Q1.0.6): Update mail-to-news gateway information.
--- a/man/xemacs-faq.texi	Mon Feb 04 15:44:52 2002 +0000
+++ b/man/xemacs-faq.texi	Wed Feb 06 16:27:06 2002 +0000
@@ -7,7 +7,7 @@
 @finalout
 @titlepage
 @title XEmacs FAQ
-@subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2002/02/04 10:57:02 $
+@subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2002/02/06 16:27:06 $
 @sp 1
 @author Tony Rossini <rossini@@biostat.washington.edu>
 @author Ben Wing <ben@@xemacs.org>
@@ -124,6 +124,8 @@
 * Q1.3.5::      Please explain the various input methods in MULE/XEmacs
 * Q1.3.6::      How do I portably code for MULE/XEmacs?
 * Q1.3.7::      How about Cyrillic Modes?
+* Q1.3.8::      Does XEmacs support Unicode?
+* Q1.3.9::      How does XEmacs display Unicode?
 
 Getting Started:
 * Q1.4.1::      What is an @file{init.el} or @file{.emacs} and is there a sample one?
@@ -486,6 +488,8 @@
 * Q1.3.5::      Please explain the various input methods in MULE/XEmacs
 * Q1.3.6::      How do I portably code for MULE/XEmacs?
 * Q1.3.7::      How about Cyrillic Modes?
+* Q1.3.8::      Does XEmacs support Unicode?
+* Q1.3.9::      How does XEmacs display Unicode?
 
 Getting Started:
 * Q1.4.1::      What is an @file{init.el} or @file{.emacs} and is there a sample one?
@@ -1042,7 +1046,7 @@
 @end lisp
 @end quotation
 
-@node Q1.3.7, Q1.4.1, Q1.3.6, Introduction
+@node Q1.3.7, Q1.3.8, Q1.3.6, Introduction
 @unnumberedsubsec Q1.3.7: How about Cyrillic Modes?
 
 @email{ilya@@math.ohio-state.edu, Ilya Zakharevich} writes:
@@ -1080,7 +1084,49 @@
 XEmacs) is @uref{http://www.ibiblio.org/sergei/Software/Software.html}
 @end quotation
 
-@node Q1.4.1, Q1.4.2, Q1.3.7, Introduction
+@node Q1.3.8, Q1.3.9, Q1.3.7, Introduction
+@unnumberedsubsec Q1.3.8: Does XEmacs support Unicode?
+
+Partially, as an external encoding for files, processes, and terminals.
+It does not yet support Unicode fonts @ref{Q1.3.9, Does XEmacs support
+Unicode Fonts?}
+
+To get Unicode support, you need a Mule-enabled XEmacs.  Install
+Mule-UCS from packages in the usual way.  Put
+
+(require 'un-define)
+(set-coding-priority-list '(utf-8))
+(set-coding-category-system 'utf-8 utf-8)
+
+Install standard national fonts (not Unicode fonts) for all
+character sets you use.
+
+Mule-UCS also supports 16-bit forms of Unicode (UTF-16).  It does not
+support 31-bit forms of Unicode (UTF-32 or UCS-4).
+
+@node Q1.3.9, Q1.4.1, Q1.3.8, Introduction
+@unnumberedsubsec Q1.3.9: How does XEmacs display Unicode?
+
+Mule doesn't have a Unicode charset internally, so there's nothing to
+bind a Unicode registry to.  It would not be straightforward to create,
+either, because Unicode is not ISO 2022-compatible.  You'd have to
+translate it to multiple 96x96 pages.
+
+This means that Mule-UCS uses ordinary national fonts for display.  This
+is not really a problem, except for those languages that use the Unified
+Han characters.  The problem here is that Mule-UCS maps from Unicode
+code points to national character sets in a deterministic way.  By
+default, this means that Japanese fonts are tried first, then Chinese,
+then Korean.  To change the priority ordering, use the command
+`un-define-change-charset-order'.
+
+It also means you can't use Unicode fonts directly, at least not without
+extreme hackery.  You can run -nw with (set-terminal-coding-system
+'utf-8) if you really want a Unicode font for some reason.
+
+Real Unicode support will be introduced in XEmacs 22.0.
+
+@node Q1.4.1, Q1.4.2, Q1.3.9, Introduction
 @unnumberedsec 1.4: Getting Started, Backing up & Recovery
 @unnumberedsubsec Q1.4.1: What is an @file{init.el} or @file{.emacs} and is there a sample one?