Monday, May 20, 2019

Re: Setting the language

Hi,

2019/5/20 Mon 15:52:09 UTC+9 Axel Bender wrote:
> @Christian,
>
> Thanks for your reply.
>
> Is there any reason why anyone would not want UTF8? (just joking...)
>
> That's exactly the problem, I can't set the language to UTF-8 for the various types (messages, ctype, time) in Windows.
>
> language english_United States.1252 works (but is not what I want).
> language english_United States.65001 (which represents UTF-8 in Windows) doesn't (as does english_United States.UTF-8 or english.United States.utf8), which all result in E197 being thrown.
>
> I see no other way to influence the collation for sorting regions, e.g. with
> '<,'>sort than setting the language...
>
> I explicitly do not want Windows 1252.

If you want to use UTF-8, write the following line in your .vimrc (_vimrc):

set encoding=utf-8

:language cannot be used for setting the encoding.

Regards,
Ken Takata

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/96470c80-bd2f-4cff-b355-23099516afb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: