Charset problem

Charset problem

DrakoDrako Posts: 73Questions: 0Answers: 0
edited February 2011 in General
im having a problem with the charset, when i set the page to UTF-8 the table head and foot accent marks become strange chars but if i set to ISO-8859-1 the text inside the table and on other field become this strange chars..
screenshots
UTF-8
http://img262.imageshack.us/img262/9178/utf8.jpg
ISO-8859-1
http://img705.imageshack.us/img705/4682/iso88591.jpg


anyone knows how to fix this?

thanks!

Replies

  • GerardoGerardo Posts: 66Questions: 0Answers: 0
    Are you using an ajax source?

    Your page seems to be in ISO-8859-1, and your data source seems to be in UTF-8.

    Be sure both use the same charset.

    Hth,
    Gerardo
  • DrakoDrako Posts: 73Questions: 0Answers: 0
    i get my entries from a sqlite file and i use an php echo to build the table, but the text on the textarea also comes from the sqlite file, so they are both the same charset.
  • GerardoGerardo Posts: 66Questions: 0Answers: 0
    what charset does the php file used to build the table use?

    Are you using sAjaxSource?

    Check the datasource on its own (so you see the json output), check the charset it uses.

    Hth,
    Gerardo
  • DrakoDrako Posts: 73Questions: 0Answers: 0
    i try to set everything to ISO-8859-1 , im not using sAjaxSource, like i said, i simply echo the results from the queries made from a PDO array that is built from a sqlite file.

    maybe the table has its own charset set somewhere inside the CSS or something like this?
This discussion has been closed.