Question

I am a big fan of vim and gvim. But whenever I write localization code in PHP and have to translate some strings (primarily in Russian), I have to open Notepad to translate all the entries. That kinda sucks, but so far I have not found out how to make gvim work in utf8 mode. Any ideas would be appreciated.

Was it helpful?

Solution

put these into your .vimrc:

set encoding=utf-8
set fileencodings=ucs-bom,utf-8

you should now be able to play with the UTF8 files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top