On 17.01.2009 3:48, Tony Mechelynck wrote:
>> If there is a 'set encoding=utf-8' line in my _vimrc gVim 7.2 hangs when
>> issuing ':h shortmess' command consuming ~50% of CPU usage.
> Try the following instead:
> if has('multi_byte')
> if &enc !~? '^u'
> if &tenc == ""
> let &tenc = &enc
> endif
> set enc=utf-8
> endif
> set fencs=ucs-bom,utf-8,latin1
> setg bomb fenc=latin1
> else
> echohl Error
> echomsg 'multi_byte not compiled-in, cannot use Unicode'
> echohl None
> endif
gVim still hangs after I have added this code to an empty _vimrc and
restarted the program. :(
No errors were printed out.
--
Best regards,
Valery Kondakoff
PGP key:
http://pool.sks-keyservers.net:11371/pks/lookup?op=get&search=0xEEDF8590
np: Tied & Tickled Trio'2003 (Observing Systems) - Bungalow
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---