-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nino Novak wrote:
in spanish the term "discussion" is
translated "discusión" (with
ó).
Now how to set up a custom namespace called "ES_Discusión" in an
international (utf-8) wiki? If following the description from
Help:Custom namespaces (from meta) and coding it as html "ó" it
is displayed as is - and if coding it in iso-8859, it is displayed with
the small black questionmark rhomb - which is normal behavior in utf-8.
First, use the real ó character, not ó
Second, save the file as UTF-8.
Third, make sure there isn't a hidden "BOM" character at the start of
the file after you save it -- Windows Notepad will insert this when you
save a file as Unicode, but it will mess up some things (broken RSS
feeds, broken caching, possibly visible error messages). I recommend
using a programming editor such as jEdit which allows saving as UTF-8
without the BOM character.
(Sorry for the BOM problems, but this is an issue with how PHP handles
files.)
The meta instruction says "Do not save
LocalSettings.php as Unicode,
because PHP cannot handle it" - so is there any possibility to get
things done?
Some editors such as Notepad mark simply "Unicode" for UTF-16, a form of
Unicode text which is basically wildly incompatible with everything. ;)
Most Internet-friendly Unicode usage is done in the UTF-8 encoding.
- -- brion vibber (brion @
pobox.com / brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFFwX56wRnhpk1wk44RArDfAJ9QK61Z0rXuwtArMtaYICF19hu6XQCfSRwa
/UrbwCoj7PFoTn7d6ZRHqoM=
=57Rs
-----END PGP SIGNATURE-----