OK, although I would imagine that wrapping the parameters to
htmlspecialchars() would be a little bit "more correct", I can
understand that.
So I'll ask a question that seems to be far off this topic, but it is not. :-)
What importance, meaning and purpose is there in the following message
that appears in some LanguageXx.php files?
# This file is encoded in UTF-8, no byte order mark.
# For compatibility with Latin-1 installations, please
# don't add literal characters above U+00ff.
What difference is there between e.g. U+00FF (UTF-8 encoding C3, BF)
and U+0100 (encoded to C4, 80), with regards to Latin-1 installations?
And if the message would be true, what is the other method I could use
to include characters above U+00FF in my messages? (Which is the only
reason for using UTF-8 anyway.) As I see from the previous problem
(ha! topic connection :-) ), I cannot use HTML entities like "scaron".
Well, anyway we do use literal characters above U+00FF in
LanguageCs.php just because there is no other practically usable way
to write Czech...
So, my final deduction is that the abovementioned message is rather
strange and I should ignore it, write any Unicode character to the
file normally, and generally not use HTML entities. (Which is
unfortunate especially for nbsp, which is normally indistinguishable
from a plain space character.) Am I correct?
Thanks,
[[cs:User:Mormegil|Mormegil]]