database encoding
database encoding
От:
"Haris" <fbogdanovic@xnet.hr>
Дата:
Hi. I set the database encoding to utf-8 (Croatian collation and character type) and when I try to add a new record via html form (the web page is also utf-8) I get, for example, đ instead of "đ", in database table. Everything is correctly displayed on the web page after submitting a form but not in database. Should I change the database encoding to windows 1250 or the problem is somewhere else ? Thanks
Re: database encoding
От:
Thomas Kellerer <spam_eater@gmx.net>
Дата:
Haris, 09.03.2011 19:23: > Hi. > > I set the database encoding to utf-8 > (Croatian collation and character type) > and when I try to add a new record via html form > (the web page is also utf-8) I get, for example, đ instead of "đ", > in database table. > Everything is correctly displayed on the web page after submitting a form > but not in database. > Should I change the database encoding to windows 1250 or the problem is somewhere else ? I would say, you need to change your application. Apparently it is sending the HTML entities not the real values. Regards Thomas