WordPress.org

Ready to get started?Download WordPress

Forums

Words in Firefox (10 posts)

  1. alexb_rj
    Member
    Posted 9 years ago #

    I've tried to write, in the sidebar, some portuguese words, with accents, as "interconexões", but when I'm visiting my site with Firefox, I only see things like "interconex&otildees", "Id&eacuteias" etc... The word accent doesn't appear properly...
    In IE things work very well!

    How can I fix this in Firefox? Thanks!

    http://www.bobeda.net/

  2. alexb_rj
    Member
    Posted 9 years ago #

    Please, could someone help me???

    My sidebar is horrible in Firefox!!!

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    What is your FF charset ?
    Have you been to the Mozilla forums and asked there ? FF is their product..

  4. Lorelle
    Member
    Posted 9 years ago #

    Also, make sure you following the instructions on "localizing" WordPress so that it will tell the browser which language your text is in:

    http://codex.wordpress.org/WordPress_Localization

  5. Firas
    Member
    Posted 9 years ago #

    His problem isn't charsets, his text is being escaped to html entities but without an ending semicolon on them. IE is more forgiving of that sort of thing; Firefox isn't too much into second-guessing the page author.

    Where did you edit the text in the sidebar? If you put it in the template directly, WP won't touch it.

  6. moshu
    Member
    Posted 9 years ago #

    This is a common problem when the template files are edited in a text editor that doesn't have utf-8 support.
    The only way to fix it: re-edit the file in an editor that supports utf-8 and everything will be fine.

  7. alexb_rj
    Member
    Posted 9 years ago #

    Well... I've edited it in the Notepad... I really don't understand what "utf-8" is... but thank you... I'm going to try another things.

  8. Firas
    Member
    Posted 9 years ago #

    You guys are misdiagnosing the problem :/ It's not a utf8 issue.

    alexb_rj: did you add the text in the sidebar by editing your template, or did you use something else that adds it?

  9. moshu
    Member
    Posted 9 years ago #

    utf-8 is the default character encoding for WP.
    http://codex.wordpress.org/Reading_Options_SubPanel
    See the "Encoding for pages and feeds" section.
    In newer Notepad versions (e.g. in XP) you can select the encoding at the bottom of the Save dialog box.

  10. jalenack
    Member
    Posted 9 years ago #

    Firas is right. In this case, UTF-8 has nothing to do with this. When you were writing to the sidebar (right?). When escaping characters, like the 'õ' , it must follow a specific format. There must be an ampersand in the beginning and a semicolon at the end. You forgot the semicolon:

    interconexõ

    [edit] You have the wrong character codes. For the 'õ', you need to use: õ [/edit]

    Here's a complete list of escapable characters:
    http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags