html charset?

Discussion in 'Installation/Configuration' started by layus, Aug 7, 2008.

  1. layus

    layus New Member

    Hey everyone! :)
    Just a quick question, i'm having trouble with html pages to display properly.
    With php everything works ok. Accents ect.. é á ç
    If i open that page locally it displays fine, but on the server it's all messed up.
    What can i do?
    Last edited: Aug 8, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. layus

    layus New Member

    Thanks for answering till.
    Although i already read that thread and it still doesn't work.
    For .php pages eveything displays correctly but for .html pages it doesn't.
    And what's weird is on the same website, on one page it displays correctly and in another one on the same site doesn't.

    Any thoughts?
    Last edited: Aug 8, 2008
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check the HTML code of the pages and compare it with the working page, it might be that they set a wrong charset in the header in HTML.
  5. layus

    layus New Member

    Thanks again till.
    Although they have the same charset that's what's driving me nuts.
    Look for example at the charset is set to iso-8859-1 in the header but it stills displays wrong. If i manually change my browser's (firefox) manually to ISO-8859 it displays correctly.
    I've tried in several computers, just to check if it was my computers problem, with IE and Firefox and it still doesn't work except when you change manually the charset.
    What's wrong here?

    Thanks again for your time.
  6. redhevil

    redhevil New Member

    Open and edit the file


    And go line 464 and change

    default_charset = "iso-8859-1"

Share This Page