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
Thanks for the reply.
set encoding=utf-8 is my default setting...
However, in Windows:
- how can I influence the values of v:lc_time, v:lang, and v:ctype?
- how can I influence the way the internal sort command sorts (in Linux - having set $LC_ALL to "de_DE.UTF-8") sorting works with /bin/sort.
Questions over questions... ;-)
The internal sort doesn't affected by the locale.
Regards,
Ken Takata