Wrong character encoding with Ajax submit
Brought to you by:
zoidian
I am using version 4.2 of AckerTodo, and I have enabled the use of ajax. The problem is that when i change a task , comment etc. the characters get encoded in iso-8859-1 (latin-1) and not in utf-8. This creates problems because some Norwegian characters are encoded differently in latin-1 and utf-8.
I have found a solution to this. In the file includes/ajax.php I have sent the user submitted value through the utf8_encode function. This I had to do in the changeText, updateTask and addComment functions.