OK, I’m an utter newbie at both WordPress and PHP.
I want to translate some themes in French — for instance, the Wuhan one (yes, I know about the existing French translation, but I had started doing my own version before discovering it and, besides, it seems to contain errors AND, apparently, it doesn’t use UTF-8).
Obviously, I want to use good and yummy UTF-8.
So I take the *.php files, convert their encoding to UTF-8 (it seems to me that some of them are not in UTF-8 — even translated ones… am I right about this?) and translate stuff.
But how do I make sure that all the browsers in the world will know for sure that the characters I “painfully” translated must be interpreted as UTF-8?
Can I use something like the tag that is used in HTML files:
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
Can I use that, “as is”, do I have to modify it… or is there another way to enforce the interpretation of the theme’s characters as UTF-8?
Thanks for your help.
- The topic ‘Localizing themes: how to “enforce” UTF-8?’ is closed to new replies.