Here I mean on the Windows platform, using Vim 6.4 or 7.1.
I've encountered this problem several times, but don't know whether
there is a
solution:
1. Use gvim to open a file with Chinese characters in its name. For
example: 测
试.txt .
2. Type ":set enc=utf-8" (without quotes).
3. Type ":e" to make the file content displayed using utf-8.
4. Type ":wq" to save the file.
After these steps, the file is saved in the name ²âÊÔ.txt rather than the
original name. Another thing that went wrong is 测试.txt.swp is left
undeleted.
I looked for any file name encoding options in vim but failed to find
anything.
Any ideas?
--
Fan Decheng
(Robbie Mosaic)
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---