KonaKart Community Forum

Installation / Configuration => Installation of KonaKart => Topic started by: f_fotrousi on July 05, 2009, 02:58:02 pm

Title: How to change konakartadmin encoding
Post by: f_fotrousi on July 05, 2009, 02:58:02 pm
Hi lists,
I have an encoding problem as soon as I update fields in konakartadmin.
when I try to update database by filling forms with persian characters in konakartadmin, I face with an error like :
"java.sql.SQLException:Incorrect String value: '\xD8\xB1\xDB\x8C\xD8\xA7...' for column 'symbol_left' at row 1".
I set Mysql encoding to utf8 but this error usually happens when the resutling string which pass to Mysql is not UTF-8. It seems in konakartadmin the requests and responses use ISo-8859-1 encoding as a default!

Can you help me how to set UTF-8 encoding for konakartadmin's requests and responses ?

Regards
Title: Re: How to change konakartadmin encoding
Post by: Brian on July 05, 2009, 07:53:44 pm
I'm a little puzzled on this one... I can't reproduce this.

I've just successfully saved " KonaKart很酷 "   (in case this doesn't show up properly, it's traditional Chinese) in the Admin App.

I have a UTF-8 database.

Can you post a string that fails that I can try?

(I'm not sure if this forum software can show it properly however... so alternatively perhaps you can refer me to a URL which contains some strings that you cannot save).