Lines Matching refs:encoding

19 3.  Encoding				|mbyte-encoding|
31 characters or boxes when using another encoding.
71 If your locale works properly, Vim will try to set the 'encoding' option
74 :set encoding=utf-8
76 See |encoding-values| for a list of acceptable values.
79 encoding. Not only the text in the buffers, but also in registers, variables,
80 etc. This also means that changing the value of 'encoding' makes the existing
83 You can edit files in another encoding than what 'encoding' is set to. Vim
91 same encoding as which Vim is working with. If this is not the case, you can
94 For the GUI you must select fonts that work with the current 'encoding'. This
224 3. Encoding *mbyte-encoding*
226 Vim uses the 'encoding' option to specify how characters are identified and
232 Charset is another name for encoding. There are subtle differences, but these
236 encoded with one byte, we call this a single-byte encoding. The most often
241 encoding. This allows using much more than 256 characters, which is required
247 encoding was set wrong.
249 *encoding-names*
261 u Unicode Universal encoding, can replace all others. ISO 10646.
270 Supported 'encoding' values are: *encoding-values*
275 1 macroman MacRoman (Macintosh encoding)
276 1 8bit-{name} any 8-bit encoding (Vim specific name)
311 2 2byte-{name} Unix: any double-byte encoding (Vim specific name)
321 The {name} can be any encoding name that your system supports. It is passed
322 to iconv() to convert between the encoding of the file and the current locale.
325 :set encoding=8bit-cp1252
326 :set encoding=2byte-cp932
329 the same encoding is used and it's called latin1. 'isprint' can be used to
348 default stands for the default value of 'encoding', depends on the
371 *encoding-table*
372 Normally 'encoding' is equal to your current locale and 'termencoding' is
376 You can make Vim use characters in a different encoding by setting the
377 'encoding' option to a different value. Since the keyboard and display still
379 takes over the value of the current locale, so Vim converts between 'encoding'
381 :let &termencoding = &encoding
382 :set encoding=utf-8
389 ('tenc' is the short name for 'termencoding' and 'enc' short for 'encoding')
394 'encoding' typing and displaying may be wrong for some
396 'encoding' to "utf-8" to get this).
409 locale is different from 'encoding'.
411 to 'encoding', you might as well leave it empty.
422 Vim will automatically convert from one to another encoding in several places:
423 - When reading a file and 'fileencoding' is different from 'encoding'
424 - When writing a file and 'fileencoding' is different from 'encoding'
425 - When displaying characters and 'termencoding' is different from 'encoding'
426 - When reading input and 'termencoding' is different from 'encoding'
427 - When displaying messages and the encoding used for LC_MESSAGES differs from
428 'encoding' (requires a gettext version that supports this).
430 'encoding'.
438 intermediate encoding, which allows conversion from and to all other
470 When reading and writing files in an encoding different from 'encoding',
474 - For MS-Windows, when 'encoding' is a Unicode encoding, conversion from and
492 terminal, if the terminal supports the same encoding that Vim uses. Thus this
499 If your terminal does not support the right encoding, you can set the
501 'termencoding' to 'encoding'. And displayed text will be converted from
502 'encoding' to 'termencoding'. If the encoding supported by the terminal
512 This is a short explanation of how to use UTF-8 character encoding in the
541 For Vim you may need to set 'encoding' to "utf-8".
638 NOTE: The fontset always uses the current locale, even though 'encoding' may
1025 keymap/{keymap}_{encoding}.vim
1028 Here {keymap} is the value of the 'keymap' option and {encoding} of the
1029 'encoding' option. The file name with the {encoding} included is tried first.
1111 The characters are assumed to be encoded for the current value of 'encoding'.
1134 glyph encoding keymap ~
1315 Unicode encoding:
1322 UTF-8 is the recommended encoding. Note that it's difficult to tell utf-16
1361 - ":set encoding=utf-8 fileencodings=" forces using UTF-8 for all files. The
1362 default is to use the current locale for 'encoding' and set 'fileencodings'
1363 to automatically detect the encoding of a file.
1368 If your current locale is in an UTF-8 encoding, Vim will automatically start
1373 set encoding=utf-8
1410 language and Vim will convert the typed characters to 'encoding' for you.
1442 'encoding' Encoding used for the keyboard and display. It is also the
1443 default encoding for files.
1445 'fileencoding' Encoding of a file. When it's different from 'encoding'
1452 'charconvert' Expression used to convert files from one encoding to another.
1459 'guifontset' The list of font names used for a multibyte encoding. When