[MPlayer-DOCS] [OT] Vim configurtion for UTF-8 [was [RFC] converting documentation to UTF-8]

Torinthiel torinthiel at megapolis.pl
Sun Oct 29 11:59:02 CET 2006


> Then either vim is not compiled with everything needed or you have
> neither $LANG nor encoding set correctly so vim does not know what your
> terminal expects.

None of the above ;)

> > Anyway, even if it had worked, this would affect ALL of my files, and
> > this is something I definitely don't want.
> 
> fileencoding yes, but fileencodings only sets which types vim tries to
> auto-detect, and UTF-8 autodetection should be really safe.
> try
> set fileencodings=utf8
> and then
> set fileencodings+=
> whatever else you tend to use (just fileencodings+=utf-8 probably won't
> work if something with no proper autodetection comes before).

Ahhh, here was the problem. I've used fileencoding, not fileencoding_s_.
Now works well, thanks!
I still don't get how it creates iso-8859 files by default, when first
position in fileencodings is utf, but I'm not going to dive into this
now that it works ;)
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 3073512
   torinthiel(at)megapolis(dot)pl
   gpg: 0906A2CE fpr: EE3E DFB4 C4D6 E22E 8999  D714 7CEB CDDC 0906 A2CE
 "No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-docs/attachments/20061029/c95a21ab/attachment.pgp>


More information about the MPlayer-DOCS mailing list