Character encoding

Tim ignored_mailbox at yahoo.com.au
Mon Sep 8 12:31:45 UTC 2008


On Sun, 2008-09-07 at 16:15 +0200, Björn Persson wrote:
> I don't know Vim but I'd guess that it uses the locale encoding as a
> default.

It certainly does, here.  My locale is set to use UTF-8, I use vim to
edit my HTML pages, and the files have always been UTF-8 encoded.

My webserver has HTTP headers set to say my pages are UTF-8 encoded by
default.  I don't bother with jamming in a HTML META statement about the
encoding, it's completely redundant in my case.

Occasionally I have to incorporate text from some other source that
that's not UTF-8.  I convert them beforehand, if necessary.

-- 
[tim at localhost ~]$ uname -r
2.6.25.14-108.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.






More information about the fedora-list mailing list