• Hi there. I’m building a whole new site based on includes in PHP. I include a header, a footer and I include WordPress. I use include “linktowordpress”;. But when I’m viewing my site characters with accents, such as á é ó are not shown, I see things like é Ã Ã ï ô instead. It’s very strange because when I open WordPress normally the characters are shown correctly. Can anyone help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • For WP I know this happens often if users edit the files with a text editor that doesn’t have utf-8 support.

    Which editor are you using? Which doctype did you specify? I believe the default will handle Latin-type accents such as á é ó just fine. I concur with moshu.

    Thread Starter streamlinx

    (@streamlinx)

    I use the standard editor from WordPress. So it uses utf-8 support. I see all accents correctly while opening http://www.url.com/wordpress but when I include (include “link”) WordPress in PHP the accents are messed up.

    I have that problem too, I have no idea what to do about it, and nobody knows it either. Somebody said it was something about unicode and I have tried other charset-things but it won’t work. It’s really irritating me… Does somebody know any solutions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem viewing accents in characters while including’ is closed to new replies.