On 08/10/08 04:44, bill lam wrote: > Hi all, > I have some old dos files that use big5 pagecode. And it contain > ASCII-127 (the "house" character), I want this character to to > displayed as one single character instead of ^... > > --- > regards,
1. Make sure 'encoding' is set to a value which allows representing Traditional Chinese. I recommend utf-8 but YMMV. See also http://www.vim.org/scripts/script.php?script_id=789 "Switching to Unicode in an orderly manner". 2. The fact that you're posting with Mutt makes me believe that you're on Unix/Linux now. In that case you should make sure that 'fileformats' includes "dos", otherwise you'll probably see a ^M at the end of each line. 3. If Big5 is not in your 'fileencodings' (plural), then open the file with :e ++enc=big5 filename.ext see ":help ++opt" Best regards, Tony. -- All syllogisms have three parts, therefore this is not a syllogism. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
