Re: Encoding in quickfix window?
- Valery Kondakoff wrote:
> Hello, people at vim-multibyte list!This not just a problem of the quickfix window, the ":clist" command
> Ah! Another encoding-related problem: the 'right' encoding is not set
> in 'quickfix' window.
> There is an example: I was using grep to search text in files, that
> contain text in cp1251 encoding. Then I'm opening quickfix window
> (:copen) and see garbage instead of Russian characters.
> There is a screenshot, that illustrates the problem (~20k): the bottom
> window is the quickfix widow and the top window is just a the same
> grep output redirected to a file and opened in GVim as a text file.
> ('set fenc?' returns 'cp1251' in quickfix window).
> How can I set quickfix to display characters in cp1251?
should have the same problem.
The errorfile is read without conversion, thus it's used with the value
of 'encoding'. Your 'encoding' is set to "utf-8" and the file is in
cp1251, thus you don't see the right characters.
I'll add a remark that some option should be added to specify the
encoding of the errorfile, so that conversion can be done. Don't expect
this soon though...
Q: Is selling software the same as selling hardware?
A: No, good hardware is sold new, good software has already been used by many.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
- Hello, Bram!
Friday, April 4, 2003, you wrote to me:
>> Ah! Another encoding-related problem: the 'right' encoding is not setBM> This not just a problem of the quickfix window, the ":clist" command
>> in 'quickfix' window.
BM> should have the same problem.
BM> I'll add a remark that some option should be added to specify the
BM> encoding of the errorfile, so that conversion can be done. Don't expect
BM> this soon though...
http://www.nbk.orc.ru (Ne Bey Kopytom)
http://www.nbk.orc.ru/mtb (MTB riding in Moscow)
PGP key: mailto:pgp-public-keys@...?subject=GET%20strauss@...
np: The Cure - Bloodflowers (Bloodflowers) [stopped]