• Hi,

    I have encountered a strange problem with character encoding(?). I am using the good default UTF-8 encoding. For editing my template I use an editor that supports UTF-8 (EditPad on Windows, mcedit+iconv and other editors on Linux). When the page is displayed, in my templates I get question marks (“?”) instead of the i18 characters that should be there. Funny thing is that the content generated by WP has no problems. The template is definitely correctly UTF-8 encoded, but when it comes back to the browser (view source), all non-standard characters are changed to ?’s, but only those in my template files. When I use hex xhtml entities (& # 0x142; etc…), everything is displayed a-ok. Have you ever seen something like that? Does PHP do something bad with the templates? Is it some server configuration problem? The same page in a static version, before being turned into a WP template, looked just as it should, and it was utf-8 too.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Question marks in i18n characters in templates, not in WP-generated content’ is closed to new replies.