> On 19 Juny, 15:37, Tony Mechelynck<antoine.mechely...@gmail.com>
> wrote:
>> On 19/06/11 14:28, esquifit wrote:
>
>> This seems to be a Windows-only problem: Works for me in gvim 7.3.226
>> with GTK2 GUI on Linux64.
>>
>> Experiment 1.
>> 1. Start gvim with my usual vimrc (which sets :lang mess C)
>> --- gvim comes up in English.
>> 2. :lang de_DE.UTF-8
>> 3. :runtime delmenu.vim
>> --- Menubar disappears
>> 4. :runtime menu.vim
>> --- Menubar reappears in German
>> 5. Open a menu then click its tear-off bar
>> --- Teared-off menu opens.
>>
>> Experiment 2.
>> 1. Start gvim with the following command-line (all on one line):
>> LC_MESSAGES=de_DE.UTF-8 gvim -u
>> /usr/local/share/vim/vim73/vimrc_example.vim
>> --- gvim opens with German splash screen and menus
>> 2. Open a menu and click its tear-off bar.
>> --- Teared-off menu opens.
>
>
> I've tried both experiments with no luck. Deleting and regenerating
> the menu doesn't have any visible effect either.
>
> Interestingly, the 'syntax' tear off menu seems to always work but
> not the rest of them. Behaviour is slightly different when invoking
> gvim with "-u NONE" or with "-u NORC":
>
> gvim -u NONE
> no tear off menu works except 'syntax'
> gvim -u NORC
> Some menus are not available plus I'm getting some plugin-related
> errors, probably because of cp implicitly being set.
> there is a File *and* a Datei menu (Datei is German for File, so the
> main menu is duplicated; the entries under each of them are different
> though).
> Tearing off 'File' works fine
> Tearing off 'Datei' kind of works: the tearing off itself is ok, but
> the tear off menu corresponds now to the entries under File, not to
> those under Datei
> 'Syntax' menu is ok
> 'Hilfe' (Help) tear off menu doesn't work
>
> Using vimrc_example.vim in the vim73 folder does not fix the problem.
>
> I'm suspecting this could have something to do with encoding:
> * The error messages are not correctly output (<fc> instead of ü)
> * :lang de_DE.UTF-8, :lang de_DE, :lang de, :lang en, :lang
> en_US, :lang en_US.UTF-8 and any variant you can think of lead always
> to the same error:
> E197 Sprache kann nicht auf "de_DE.UTF-8" gesetzt werden (Language
> can't be set to "de_DE.UTF-8")
>
>
>
Rejecting UTF-8: I think that's a Windows peculiarity, where a locale is
only accepted if its "encoding" part is numeric (or absent).
But that
:lang en
answers
E197 Sprache kann nicht auf de_DE.UTF-8 gesetzt werden
sounds really weird. What is the answer to
:lang
?
Does Vim (when freshly restarted) accept
:language messages en
or
:lang mess de_DE.10646
?
<fc> instead of ü: This seems to indicate that the message is
represented in Latin1 and that Vim tries to display it as if it were
UTF-8 (0xFC is small-u-umlaut; <FC> is typical of what is being shown
for an invalid UTF-8 byte; the UTF-8 representation of U+00FC is 0xC3 0xBC).
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
115. You are late picking up your kid from school and try to explain
to the teacher you were stuck in Web traffic.
--
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
No comments:
Post a Comment