Forums

Special Characters in post (7 posts)

  1. tuliofaria
    Member
    Posted 5 years ago #

    hi,

    I am trying to use special chars in my posts (like as ", á, é, é, ...) but they wasn't converted to html entities. I tried to use htmlentities function in my template, and it doesn't work.

    what can I do?

    thanks, and sorry for my bad english...

  2. StefanSuedfeld
    Member
    Posted 5 years ago #

    What charset do you use? UTF-8?
    Set it to ISO 8859-1

    See
    http://wordpress.org/support/topic/25402?replies=6

  3. tuliofaria
    Member
    Posted 5 years ago #

    but, when I use iso-8859-1 in my blog appear something like this é when I use special chars.

    in UTF-8 they appear, but dont validate in W3C.

  4. tuliofaria
    Member
    Posted 5 years ago #

    and the problem with " continues....

  5. moshu
    Member
    Posted 5 years ago #

    The reason for not validating is caused by you (or your tools):
    1. you copy/paste from a word processor that doesn't have utf-8 support
    2. you edit WP files in a text editor that does NOT have utf-8 support

  6. You could also just use the HTML code for them:

    http://www.htmlhelp.org/reference/html40/entities/

  7. tuliofaria
    Member
    Posted 5 years ago #

    I think the wp doesn't convert the special chars into html entities (or bug) is the problem. I am searching for a plugin or solution to this...

    But, I didn't find a solution yet.

Topic Closed

This topic has been closed to new replies.

About this Topic