Tony,

A.J.Mechelynck said on 12/08/2006 02:40 PM:
> Guido Van Hoecke wrote:
> [...]
>> However, when I open man output with vim or gvim, the rightmost quote
>> displays as a plain single quote (hex 27), the leftmost quote displays
>> as three characters, 'â' '<80>' and '<98>'. A word-splitting hyphen in
>> the rightmost column of lines is displayed as three characters: 'â'
>> '<80>' and '-' Apparently, Manpageviewer also reads this like that.
> [...]
>
> It looks like Vim does not recognise the file as being in UTF-8.
>
> Add to your vimrc (you can use cut-and-paste):
>
>     " enable Unicode support if possible
>     if has('multi_byte')
>         if &encoding !~? '^u'
>             if &termencoding == ''
>                 let &termencoding = &encoding
>             endif
>             set encoding=utf-8
>         endif
>         set fencs-=ucs-bom
>         set fencs-=utf-8
>         set fencs^=ucs-bom,utf-8
>     else
>         echoerr 'Error: Multi-byte support not compiled-in'
>     endif
>
> This ought to fix it. If you get the error message, it means you need a
> different binary, with +multi_byte (or +multi_byte_ime) compiled-in.
>

Thank you for yoour help, but I am afraid that this patch would not
modify my environment. My vim has mult-byte support and these options
already have following values:

enc=utf-8
tenc=
fencs=ucs-bom,utf-8,default,latin1

Any other ideas?

Kind regards,

Guido

--
http://vanhoecke.org ... and go2 places!

Reply via email to