Mercurial > vim
comparison runtime/doc/mbyte.txt @ 2698:b6471224d2af
Updated runtime files and translations.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 09 Feb 2011 17:07:58 +0100 |
parents | 073ff46fe397 |
children | f2de38a019a2 |
comparison
equal
deleted
inserted
replaced
2697:6cc8a093e4a9 | 2698:b6471224d2af |
---|---|
1 *mbyte.txt* For Vim version 7.3. Last change: 2010 Jul 26 | 1 *mbyte.txt* For Vim version 7.3. Last change: 2011 Feb 01 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar et al. | 4 VIM REFERENCE MANUAL by Bram Moolenaar et al. |
5 | 5 |
6 | 6 |
278 encodings can be edited by using conversion, see 'fileencoding'. | 278 encodings can be edited by using conversion, see 'fileencoding'. |
279 Note that all encodings must use ASCII for the characters up to 128 (except | 279 Note that all encodings must use ASCII for the characters up to 128 (except |
280 when compiled for EBCDIC). | 280 when compiled for EBCDIC). |
281 | 281 |
282 Supported 'encoding' values are: *encoding-values* | 282 Supported 'encoding' values are: *encoding-values* |
283 1 latin1 8-bit characters (ISO 8859-1) | 283 1 latin1 8-bit characters (ISO 8859-1, also used for cp1252) |
284 1 iso-8859-n ISO_8859 variant (n = 2 to 15) | 284 1 iso-8859-n ISO_8859 variant (n = 2 to 15) |
285 1 koi8-r Russian | 285 1 koi8-r Russian |
286 1 koi8-u Ukrainian | 286 1 koi8-u Ukrainian |
287 1 macroman MacRoman (Macintosh encoding) | 287 1 macroman MacRoman (Macintosh encoding) |
288 1 8bit-{name} any 8-bit encoding (Vim specific name) | 288 1 8bit-{name} any 8-bit encoding (Vim specific name) |
334 to iconv() to convert between the encoding of the file and the current locale. | 334 to iconv() to convert between the encoding of the file and the current locale. |
335 For MS-Windows "cp{number}" means using codepage {number}. | 335 For MS-Windows "cp{number}" means using codepage {number}. |
336 Examples: > | 336 Examples: > |
337 :set encoding=8bit-cp1252 | 337 :set encoding=8bit-cp1252 |
338 :set encoding=2byte-cp932 | 338 :set encoding=2byte-cp932 |
339 < | 339 |
340 The MS-Windows codepage 1252 is very similar to latin1. For practical reasons | |
341 the same encoding is used and it's called latin1. 'isprint' can be used to | |
342 display the characters 0x80 - 0xA0 or not. | |
343 | |
340 Several aliases can be used, they are translated to one of the names above. | 344 Several aliases can be used, they are translated to one of the names above. |
341 An incomplete list: | 345 An incomplete list: |
342 | 346 |
343 1 ansi same as latin1 (obsolete, for backward compatibility) | 347 1 ansi same as latin1 (obsolete, for backward compatibility) |
344 2 japan Japanese: on Unix "euc-jp", on MS-Windows cp932 | 348 2 japan Japanese: on Unix "euc-jp", on MS-Windows cp932 |