WordPress.org

Ready to get started?Download WordPress

Forums

Problem viewing accents in characters while including (5 posts)

  1. streamlinx
    Member
    Posted 8 years ago #

    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?

  2. moshu
    Member
    Posted 8 years ago #

    For WP I know this happens often if users edit the files with a text editor that doesn't have utf-8 support.

  3. schestowitz
    Member
    Posted 8 years ago #

    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.

  4. streamlinx
    Member
    Posted 8 years ago #

    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.

  5. Lynje
    Member
    Posted 8 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic