Lines Matching refs:locale
18 2. Locale |mbyte-locale|
46 First of all, you must make sure your current locale is set correctly. If
53 Unfortunately, the name of the locale depends on your system. Japanese might
58 To change the locale inside Vim use: >
63 experiment and find the locale name you want to use. But it's always better
64 to set the locale in the shell, so that it is used right from the start.
66 See |mbyte-locale| for details.
71 If your locale works properly, Vim will try to set the 'encoding' option
95 is the difficult part. It depends on the system you are using, the locale and
135 2. Locale *mbyte-locale*
137 The easiest setup is when your whole system uses the locale you want to work
138 in. But it's also possible to set the locale for one shell you are working
139 in, or just use a certain locale inside Vim.
142 WHAT IS A LOCALE? *locale*
146 environment corresponding to an area is called "locale". This includes
151 You can only use a locale if your system has support for it. Some systems
157 For example, "/usr/share/locale" or "/usr/lib/locale". See your system's
160 Looking in these directories will show you the exact name of each locale.
162 different. Some systems have a locale.alias file, which allows translation
165 Note that X-windows has its own locale stuff. And unfortunately uses locale
171 *locale-name*
172 The (simplified) format of |locale| name is:
179 example, the locale name "ja_JP.eucJP" means:
184 the locale name for a specific language, territory and codeset is not unified
187 Examples of locale name:
188 charset language locale name ~
199 To start using a locale for the whole system, see the documentation of your
202 To use a locale in a shell, set the $LANG environment value. When you want to
203 use Korean and the |locale| name is "ko", do this:
210 To use a locale in Vim only, use the |:language| command: >
322 to iconv() to convert between the encoding of the file and the current locale.
372 Normally 'encoding' is equal to your current locale and 'termencoding' is
374 in your current locale, and Vim uses the same characters internally.
378 use the current locale, conversion needs to be done. The 'termencoding' then
379 takes over the value of the current locale, so Vim converts between 'encoding'
409 locale is different from 'encoding'.
618 Which fonts are required in a fontset depends on the current locale. X
620 locale. You have to specify all the fonts that a locale requires in the
635 The fonts must match with the current locale. If fonts for the character sets
636 that the current locale uses are not included, setting 'guifontset' will fail.
638 NOTE: The fontset always uses the current locale, even though 'encoding' may
662 For example, when you use the ja_JP.eucJP locale, this requires JIS X 0201
670 name, letting X-Windows select font characters required for the locale. For
784 locale if you make a correct input table. Xcin can be found at:
1362 default is to use the current locale for 'encoding' and set 'fileencodings'
1368 If your current locale is in an UTF-8 encoding, Vim will automatically start
1371 If you are using another locale: >
1408 Another method is to set the current locale to the language you want to use