ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

HTML character problem

February 14, 2011 6:17pm

Subscribe [4]
  • #1 / Feb 14, 2011 6:17pm

    Sharif28

    24 posts

    Hi,

    I’m running a site on EE 1.6.1, and after my web host upgraded their server recently, I have a strange problem with HTML characters. HTML special characters, such as curly quotes, register marks, etc., that formerly worked properly are now broken.

    I’ve tried turning on the global weblog setting for converting ASCII characters to entities, but that didn’t help.

    Any thoughts on another way to fix this sitewide, without manually editing each post?

    Thanks,
    Sharif

  • #2 / Feb 15, 2011 9:20am

    Sue Crocker

    26054 posts

    Hi, Sharif28.

    1.6.1 is quite old. You really should consider upgrading to 1.7.0. Are you using UTF-8? What changed MySQL wise?

  • #3 / Feb 15, 2011 3:40pm

    Sharif28

    24 posts

    I’m not sure of the details of the server change… it was a Media Temple account, and they migrated the site from an outdated shared server to their new grid server.

    What do you mean by using UTF-8? Where would I check that setting?

  • #4 / Feb 16, 2011 12:05am

    John Henry Donovan

    12339 posts

    Sharif28,

    Can yo be more specific about what you mean by broken? Have you got a link to where we can see this happening?

    What do you mean by using UTF-8? Where would I check that setting?

    Under XML Character Encoding in Admin > Weblog Administration > Weblog Management > Edit Preferences and in combination with {charset} in your templates

  • #5 / Feb 16, 2011 5:42am

    John Ryan

    51 posts

    I had a previous problem (outlined in this forum post) where a host’s security library was parsing any data sent from text fields. I was screwing up the charset in my header template.

    Maybe this is a similar problem?

  • #6 / Feb 16, 2011 9:32am

    Sharif28

    24 posts

    Thanks, guys… XML Character Encoding was set to UTF, but the corresponding meta tag was missing. Updated that and problem solved.

  • #7 / Feb 16, 2011 12:44pm

    Ingmar

    29245 posts

    Excellent news. Please don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases