formatting error on sort

formatting error on sort

K0ZZM0K0ZZM0 Posts: 7Questions: 0Answers: 0
edited November 2010 in General
I used the server-side example of the website, I customized it to retreive my data...
When I load the page/table everything is ok, when I sort the first column everything still works...
but when I sort some other columns i get some json formatting error... anyone knows where I should look for this error?

I have some french text as data... could this be the problem? Also some other fields without any special characters give the same error on sorting...

Replies

  • K0ZZM0K0ZZM0 Posts: 7Questions: 0Answers: 0
    I found that the 'return' symbol gives a square in my database, gives this error... which other special characters will give arrors? " ' does the quotes give errors?

    What can I do to prevent this to happen?
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    If you are using server-side processing, make sure that the data coming back from the server is valid with http://jsonlint.com .

    Allan
  • K0ZZM0K0ZZM0 Posts: 7Questions: 0Answers: 0
    newlinefeed and return carriage were causing that problem in some text fields....

    other problem:

    I have in my db utf8 fields, and my html page has utf8 encoding but still some letters like
This discussion has been closed.