• 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/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter alexb_rj

    (@alexb_rj)

    Please, could someone help me???

    My sidebar is horrible in Firefox!!!

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

    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

    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.

    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.

    Thread Starter alexb_rj

    (@alexb_rj)

    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.

    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?

    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.

    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Words in Firefox’ is closed to new replies.