Page 1 of 1

Danish Text error

Posted: Sun May 24, 2009 3:40 am
by funtus
Hi,

I am trying to store this danish text in mySql and retrive the same via php:

"Her kan du sælge det, du ikke længere har brug for og købe, det du ikke kan undvære"

I am getting this result in browser:

"Her kan du s�lge det, du ikke l�ngere har brug for og k�be, det du ikke kan undv�re"

Table collation is 'latin1_danish_ci' and in html code where the data is displayed I am using <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


If I am using the same text directly into html the output is perfect but not via Mysql.

Thanks in advance for the help.