comparison man/xemacs/mule.texi @ 209:41ff10fd062f r20-4b3

Import from CVS: tag r20-4b3
author cvs
date Mon, 13 Aug 2007 10:04:58 +0200
parents e45d5e7c476e
children
comparison
equal deleted inserted replaced
208:f427b8ec4379 209:41ff10fd062f
7 @cindex international scripts 7 @cindex international scripts
8 @cindex multibyte characters 8 @cindex multibyte characters
9 @cindex encoding of characters 9 @cindex encoding of characters
10 10
11 @cindex Chinese 11 @cindex Chinese
12 @cindex Devanagari
13 @cindex Hindi
14 @cindex Marathi
15 @cindex Ethiopian
16 @cindex Greek 12 @cindex Greek
17 @cindex IPA 13 @cindex IPA
18 @cindex Japanese 14 @cindex Japanese
19 @cindex Korean 15 @cindex Korean
20 @cindex Lao
21 @cindex Russian 16 @cindex Russian
22 @cindex Thai
23 @cindex Tibetan
24 @cindex Vietnamese
25 If you compile XEmacs with mule option, it supports a wide variety of 17 If you compile XEmacs with mule option, it supports a wide variety of
26 world scripts, including Latin alphabet (for some European languages and 18 world scripts, including Latin script, as well as Arabic script,
27 Vietnamese), as well as Arabic, Simplified Chinese (for mainland of 19 Simplified Chinese script (for mainland of China), Traditional Chinese
28 China), Traditional Chinese (for Taiwan and Hong-Kong), Greek, Hebrew, 20 script (for Taiwan and Hong-Kong), Greek script, Hebrew script, IPA
29 IPA, Japanese (Hiragana, Katakana and Kanji), Korean (Hangul and Hanja) 21 symbols, Japanese scripts (Hiragana, Katakana and Kanji), Korean scripts
30 and Cyrillic (Beylorussian, Bulgarian, Russian, Serbian and Ukrainian) 22 (Hangul and Hanja) and Cyrillic script (for Beylorussian, Bulgarian,
31 scripts. These features have been merged from the modified version of 23 Russian, Serbian and Ukrainian). These features have been merged from
32 Emacs known as MULE (for ``MULti-lingual Enhancement to GNU Emacs''). 24 the modified version of Emacs known as MULE (for ``MULti-lingual
25 Enhancement to GNU Emacs'').
33 26
34 @menu 27 @menu
35 * Mule Intro:: Basic concepts of Mule. 28 * Mule Intro:: Basic concepts of Mule.
36 * Language Environments:: Setting things up for the language you use. 29 * Language Environments:: Setting things up for the language you use.
37 * Input Methods:: Entering text characters not on your keyboard. 30 * Input Methods:: Entering text characters not on your keyboard.
435 @table @kbd 428 @table @kbd
436 @item C-x @key{RET} f @var{coding} @key{RET} 429 @item C-x @key{RET} f @var{coding} @key{RET}
437 Use coding system @var{coding} for the visited file 430 Use coding system @var{coding} for the visited file
438 in the current buffer. 431 in the current buffer.
439 432
433 @item C-x @key{RET} c @var{coding} @key{RET}
434 Specify coding system @var{coding} for the immediately following
435 command.
436
440 @item C-x @key{RET} k @var{coding} @key{RET} 437 @item C-x @key{RET} k @var{coding} @key{RET}
441 Use coding system @var{coding} for keyboard input. 438 Use coding system @var{coding} for keyboard input.
442 439
443 @item C-x @key{RET} t @var{coding} @key{RET} 440 @item C-x @key{RET} t @var{coding} @key{RET}
444 Use coding system @var{coding} for terminal output. 441 Use coding system @var{coding} for terminal output.
455 words, which coding system to use when saving or rereading the visited 452 words, which coding system to use when saving or rereading the visited
456 file. You specify which coding system using the minibuffer. Since this 453 file. You specify which coding system using the minibuffer. Since this
457 command applies to a file you have already visited, it affects only the 454 command applies to a file you have already visited, it affects only the
458 way the file is saved. 455 way the file is saved.
459 456
457 @kindex C-x RET c
458 @findex universal-coding-system-argument
460 Another way to specify the coding system for a file is when you visit 459 Another way to specify the coding system for a file is when you visit
461 the file. If you run some file input commands with the precedent 460 the file. First use the command @kbd{C-x @key{RET} c}
462 @kbd{C-u}, you can specify coding system to read from minibuffer. 461 (@code{universal-coding-system-argument}); this command uses the
462 minibuffer to read a coding system name. After you exit the minibuffer,
463 the specified coding system is used for @emph{the immediately following
464 command}.
463 465
464 So if the immediately following command is @kbd{C-x C-f}, for example, 466 So if the immediately following command is @kbd{C-x C-f}, for example,
465 it reads the file using that coding system (and records the coding 467 it reads the file using that coding system (and records the coding
466 system for when the file is saved). Other file commands affected by a 468 system for when the file is saved). Or if the immediately following
469 command is @kbd{C-x C-w}, it writes the file using that coding system.
470 Other file commands affected by a specified coding system include
471 @kbd{C-x C-i} and @kbd{C-x C-v}, as well as the other-window variants of
472 @kbd{C-x C-f}.
473
474 In addition, if you run some file input commands with the precedent
475 @kbd{C-u}, you can specify coding system to read from minibuffer. So if
476 the immediately following command is @kbd{C-x C-f}, for example, it
477 reads the file using that coding system (and records the coding system
478 for when the file is saved). Other file commands affected by a
467 specified coding system include @kbd{C-x C-i} and @kbd{C-x C-v}, as well 479 specified coding system include @kbd{C-x C-i} and @kbd{C-x C-v}, as well
468 as the other-window variants of @kbd{C-x C-f}. 480 as the other-window variants of @kbd{C-x C-f}.
469 481
470 @vindex default-buffer-file-coding-system 482 @vindex default-buffer-file-coding-system
471 The variable @code{default-buffer-file-coding-system} specifies the 483 The variable @code{default-buffer-file-coding-system} specifies the