> Hi,
>
> German message output is broken when encoding=UTF-8.
> Maybe calls to convert messages to the current encoding (see :help iconv) are missing in the code?
>
> To reproduce here are 2 examples among many others:
>
>
> 1. example:
>
> - open new gvim
> - :set enc=UTF-8
> - :set enc=lalala ... something invalid
>
> I get:
> E474: Ung<fc>ltiges Argument: enc=lalala
> I expect:
> E474: Ungültiges Argument: enc=lalala
>
>
> 2. example:
>
> - open new gvim
> - :set enc=UTF-8
> - :set bomb
> - i<Enter><Esc> ... enter a newline to make the buffer not empty
> - g<C-G> ... g CONTROL-G
>
> I get:
> Sp 1 von 0; Zeile 2 von 2; Wort 0 von 0; Byte 4 von 4(+3 f<fc>r BOM)
> I expect:
> Sp 1 von 0; Zeile 2 von 2; Wort 0 von 0; Byte 4 von 4(+3 für BOM)
>
>
> I use:
>
> :version
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:59:02)
> MS-Windows 32 Bit GUI Version mit OLE-Unterstützung
> Inklusive der Korrekturen: 1-46
> Übersetzt von Bram@KIBAALE
>
>
> When enc is latin1, all messages display fine.
>
> Thanks& regards,
> Paul
>
>
If you were running under Linux I would suggest
lang mess de_DE.UTF-8
but beware that the placement of this command before or after not only
":set enc=utf-8" but also ":filetype [plugin] [indent] on" and ":syntax
on" (and the relative placement of these) makes a difference.
Under Windows I'm less sure; maybe something like
lang mess German_Germany.10646
Same caveats as above about command ordering.
Best regards,
Tony.
--
Double-Blind Experiment, n.:
An experiment in which the chief researcher believes he is
fooling both the subject and the lab assistant. Often accompanied by a
belief in the tooth fairy.
--
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