Viewing 10 posts - 1 through 10 (of 10 total)
  • Odd website character rendering problem…
  • simonfbarnes
    Free Member

    On our new server, special characters aren’t rendered properly:

    anyone know what magic runes are required to fix it ?

    simonfbarnes
    Free Member

    oh and the identical HTML rendered correctly from the old server, so it must be something in the headers…

    Date: Fri, 04 Mar 2011 21:51:43 GMT
    Server: Apache/2.2.3 (CentOS)
    Last-Modified: Thu, 03 Mar 2011 00:07:59 GMT
    Accept-Ranges: bytes
    Content-Length: 7219
    Connection: close
    Content-Type: text/html; charset=UTF-8

    200 OK

    Tom
    Free Member

    It’s a character encoding problem – your server is saying it’s unicode. Either rework your html to unicode or change the AddCharset/AddDefaultCharset setting in Apache config.

    You could try something like this in your .htaccess file:
    AddCharset iso-8859-1 .shtml .html

    Fresh Goods Friday 696: The Middling Edition

    Fresh Goods Friday 696: The Middlin...
    Latest Singletrack Videos
    allthegear
    Free Member

    or declare the character set in the HTML template you use. That would have the same effect.

    Actually, I think declaring it in the HTML template is better practice but I’m prepared to be shot down in flames over that…

    Rachel

    simonfbarnes
    Free Member

    ah, thanks
    like I said the same HTML rendered correctly on a different server…

    allthegear
    Free Member

    I always use…

    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />

    simonfbarnes
    Free Member

    I’ve capitulated and used & pound; 🙁

    Del
    Full Member

    as it goes, your character renders a bit oddly on this website too Simon. 😀

    Kevevs
    Free Member

    *hee hee*

    simonfbarnes
    Free Member

    ow ow my sides have split!

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Odd website character rendering problem…’ is closed to new replies.