On 09/01/09 10:58, [email protected] wrote:
> It doesn't work.
> Return E488, It seems copen can't except the option.
> And if I read the result in a new window , it can show normally.
> Could I output to the quickfix and show it normally?
>
> By the way, how can I output the result of Ex-command (like set) to
> the quickfix window?
>
> thanks!

You can use any file as the quickfix errorfile, see ":help :cf"

To change a file's encoding:

        :new ++enc=cp936 filename
        :wq ++enc=utf-8

or if that doesn't work:

        :new ++enc=cp936 filename
        :setlocal fenc=utf-8
        :x


Best regards,
Tony.
-- 
186,282 miles per second:

It isn't just a good idea, it's the law!

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to