Carlton B wrote:
I've just recognized that my wiki is outputting in
latin1 where it needs to
be UTF-8. I can't find good documentation to tell me what I need to do.
Do you mean:
* Your database's contents are in Latin-1, and output is marked with
ISO-8859-1 encoding, but you'd prefer to be using UTF-8 instead.
or
* Your database's contents are in UTF-8, but output is marked with
ISO-8859-1 encoding so everything displays incorrectly.
?
If the latter, set $wgUseLatin1 = false in LocalSettings.php and clear
the objectcache table.
If the former, you'll need to do an unspecified mass conversion. The 1.5
upgrade will include some explicit support for this (as Latin-1 support
is being dropped) but there's not currently a specific way of doing
this. If you're not using any revision compression, you can dump your
database out with mysqldump, convert it with iconv, and source it back.
(Beware MySQL 4.1's conversions; use --charset option on mysqldump
appropriately if so.)
-- brion vibber (brion @
pobox.com)