On Thursday, August 23, 2012 4:30:05 AM UTC-5, Marek wrote:
> Hello everybody!
> 
>  
> 
> I have problem with Polish characters in gVim in menu and messages.
> 
>  
> 
> Recently I moved to new computer with Windows7 x64 and installed vim with 
> gvim.
> 
> I wanted to edit exported registry file (example: 
> http://www.sendspace.pl/file/d52e17c6ac67ff7f54fc8ca), but it didn't display 
> correctly, so I have added to default _vimrc file that text (from 
> http://vim.wikia.com/wiki/Working_with_Unicode):
> 
> ---v--- cut ---v---
> 
> if has("multi_byte")
> 
>   if &termencoding == ""
> 
>     let &termencoding = &encoding
> 
>   endif
> 
>   set encoding=utf-8
> 
>   setglobal fileencoding=utf-8
> 
>   "setglobal bomb
> 
>   set fileencodings=ucs-bom,utf-8,latin2,cp1250
> 
> endif
> 
> ---^--- cut ---^---
> 
>  
> 
> After adding this, the menu and messages are displayed incorrectly (without 
> Polish characters) - http://tinypic.com/r/30idvee/6.
> 
> When I comment out "set encoding" line, the menu and messages are OK, but 
> registry file stop to display correctly.
> 
>  
> 
> What should I change in configuration file to have correctly displayed menu 
> and messages and, in the same time, possibility to open Unicode file like 
> example registry file?
> 
>  
> 
> Regards,
> 
> Marek

Where did you put those lines in your .vimrc? They need to be placed at the 
very top.

-- 
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

Reply via email to