This is vim-dev maillist, better sending your question to [EMAIL PROTECTED] .
PS. If you wanna save a UTF-8 content file, just :set fenc=utf-8 but not enc=utf-8. Good Luck! On 1/20/08, Fan Decheng <[EMAIL PROTECTED]> wrote: > > 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] > > > > > > -- leal @ www.leal.cn --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
