Hi Bram!
On Mo, 16 Aug 2010, Bram Moolenaar wrote:
> Christian Brabandt wrote:
> > On So, 15 Aug 2010, Bram Moolenaar wrote:
> >
> > > Announcing: Vim (Vi IMproved) version 7.3
> > […]
> >
> > I think I found an error with the Windows builds. All messages that are
> > given, can't be displayed correctly, when they contain umlauts:
> > e.g.
> > E474: Ung<fc>ltiges Argument
> > which should have been
> > E474: Ungültiges Argument
> >
> > This did not happen with previous releases.
> >
> > :lang results in
> >
> > Momentane Sprache:
> > "LC_COLLATE=German_Germany.1252;LC_CTYPE=C;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252"
> >
> > :lang mes:
> > Momentane messages Sprache: "de"
> >
> > Did something change with regard to locales or do I now have to
> > configure vim to use a German locale and if so how?
>
> Nothing changed recently. I always use the same procedure when building
> releases. Is this a problem with 'enc' perhaps? Make sure you don't
> change 'enc', except only very early in your .vimrc.
Thanks. That was it. I set my 'encoding' to utf-8 at the beginning of my
.vimrc. Commenting that out worked. I guess, I can't set my encoding to
utf-8 now?
I used that snipped, that I read at vim_use by Tony:
" set Unicode if possible
" First, check that the necessary capabilities are compiled-in
if has("multi_byte")
" (optional) remember the locale set by the OS
let g:locale_encoding = &encoding
" if already Unicode, no need to change it
" we assume that an encoding name is a Unicode one
" if its name starts with u or U
if &encoding !~? '^u'
" avoid clobbering the keyboard's charset
if &termencoding == ""
let &termencoding = &encoding
endif
" now we're ready to set UTF-8
"set encoding=utf-8
endif
" heuristics for use at file-open
" how are different fileencodings determined?
" This is a list. The first that succeeds, will be used
" default is 'ucs-bom,utf-8,default,latin1'
set fileencodings=ucs-bom,utf-8,latin9
" optional: defaults for new files
" disable bomb, causes sometimes problems with helptags and vimball
" setglobal bomb fileencoding=utf-8
setglobal nobomb fileencoding=utf-8
endif
Anyway, I noticed another problem. I cannot edit my .vimrc from within
gvim. When writing it, gvim simply crashes.
regards,
Christian
--
You received this message from the "vim_dev" 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