aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDave Love2003-05-29 18:15:21 +0000
committerDave Love2003-05-29 18:15:21 +0000
commitfc1bfc2a53ee010adceb644a636f10a084e8197c (patch)
treed5e43869c550358b9ed960a72baad4d50e8ed36e /etc
parent074468698d68e98cd9b66f4f329e1526228dad05 (diff)
downloademacs-fc1bfc2a53ee010adceb644a636f10a084e8197c.tar.gz
emacs-fc1bfc2a53ee010adceb644a636f10a084e8197c.zip
Correct Unicode stuff.
Diffstat (limited to 'etc')
-rw-r--r--etc/PROBLEMS41
1 files changed, 25 insertions, 16 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 1574b16a444..2a385ed6313 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -15,30 +15,39 @@ problems with the unexec code and its interaction with libSystem.B.
15* Characters from the mule-unicode charsets aren't displayed under X. 15* Characters from the mule-unicode charsets aren't displayed under X.
16 16
17XFree86 4 contains many fonts in iso10646-1 encoding which have 17XFree86 4 contains many fonts in iso10646-1 encoding which have
18minimal character repertoires (whereas the encoding is meant to be a 18minimal character repertoires (whereas the encoding part of the font
19reasonable indication of the repertoire). Emacs may choose one of 19name is meant to be a reasonable indication of the repertoire
20these to display characters from the mule-unicode charsets and then 20according to the XLFD spec). Emacs may choose one of these to display
21typically won't be able to find the glyphs to display many characters. 21characters from the mule-unicode charsets and then typically won't be
22(Check with C-u C-x = .) To avoid this, you may need to use a fontset 22able to find the glyphs to display many characters. (Check with C-u
23which sets the font for the mule-unicode sets explicitly. E.g. to use 23C-x = .) To avoid this, you may need to use a fontset which sets the
24GNU unifont, include in the fontset spec: 24font for the mule-unicode sets explicitly. E.g. to use GNU unifont,
25include in the fontset spec:
25 26
26mule-unicode-2500-33ff:-gnu-unifont-*-iso10646-1,\ 27mule-unicode-2500-33ff:-gnu-unifont-*-iso10646-1,\
27mule-unicode-e000-ffff:-gnu-unifont-*-iso10646-1,\ 28mule-unicode-e000-ffff:-gnu-unifont-*-iso10646-1,\
28mule-unicode-0100-24ff:-gnu-unifont-*-iso10646-1 29mule-unicode-0100-24ff:-gnu-unifont-*-iso10646-1
29 30
30* Encoding some characters as Unicode (UTF-8/16) is rejected by Emacs. 31* The UTF-8/16/7 coding systems don't encode CJK (Far Eastern) characters.
31 32
32Emacs currently, by default, only supports the parts of the BMP whose 33Emacs by default only supports the parts of the Unicode BMP whose code
33codepoints are in the ranges 0000-33ff and e000-ffff. This excludes 34points are in the ranges 0000-33ff and e000-ffff. This excludes: most
34CJK, Yi, Music, Maths, Private Use Area, Gothic, and Old Italic. 35of CJK, Yi and Hangul, as well as everything outside the BMP.
35 36
36If you try to save a file containing characters with code points 37If you read UTF-8 data with code points outside these ranges, the
37outside this range, Emacs will suggest other compatible coding 38characters appear in the buffer as raw bytes of the original UTF-8
38systems. 39(composed into a single quasi-character) and they will be written back
40correctly as UTF-8, assuming you don't break the composed sequences.
41If you read such characters from UTF-16 or UTF-7 data, they are
42substituted with the Unicode `replacement character', and you lose
43information.
39 44
40By turning Utf-Translate-Cjk mode on, many more CJK characters are 45To edit such UTF data, turn on Utf-Translate-Cjk mode, which makes
41included in the support. 46many common CJK characters available for encoding and decoding and can
47be extended by updating the tables it uses. This also allows you to
48save as UTF buffers containing characters decoded by the chinese-,
49japanese- and korean- coding systems, e.g. cut and pasted from
50elsewhere.
42 51
43* Problems with file dialogs in Emacs built with Open Motif. 52* Problems with file dialogs in Emacs built with Open Motif.
44 53