>
> I've been working with case manipulation (~ for example) on
> international characters, such as (áéíóú, and þæð). This works on my
> Windows GVim, but on the Linux server account I have access, to these
> characters seem to be unaffected by the same commands.
>
> Is there something that I can configure within Vim to get this to work
> correctly, or is Vim delegating these functions to the operating
> system, and thus this is a symptom of the Linux box lacking in this
> functionality?
>
> Best,
> Magnus
(Warning: this reply is in UTF-8)
On my Linux gvim 7.2.245 with Huge features and GTK2/Gnome2 GUI,
repeatedly hitting the tilde changes áéíóúàèìòùâêîôûæœĉĝĥĵŝŭðþäëïöüÿ to
ÁÉÍÓÚÀÈÌÒÙÂÊÎÔÛÆŒĈĜĤĴŜŬÐÞÄËÏÖÜŸ or vice-versa. IOW: WORKSFORME.
Note: The oe ligature, the consonants with circumflex, the u-breve (all
of these both cases) and the uppercase-Y-dieresis are all above 0xFF —
when defining Latin1, the German sharp s (which has no reversible
uppercase equivalent) was deemed more important than the
uppercase-y-diaeresis and put into its logical slot, at the end of the
uppercase accented letters; later, Unicode inherited its first 256
codepoints from Latin1.
What happens with
gvim -N -u NONE
? Here it still works. (My "system locale" is "en_US.UTF-8" in the bash
shell.)
See also
:help :language
:help v:ctype
:help 'casemap'
:help :version
each of which may or may not be relevant.
Best regards,
Tony.
--
"These are DARK TIMES for all mankind's HIGHEST VALUES!"
"These are DARK TIMES for FREEDOM and PROSPERITY!"
"These are GREAT TIMES to put your money on BAD GUY to kick the CRAP
out of MEGATON MAN!"
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment