I have recordsets in my MySQL database like this (in german):
Karrieren im Portrait: Interview mit Thorsten Franck – „Ich liebe Produkte“
Now when I get the data with the MySQL connector reader and write it into an xml file I get just this:
Karrieren im Portrait: Interview mit Thorsten Franck Ich liebe Produkte
As you (hopefully) can see, the minus (it's one of those long ones) and the upper and lower quote signs are not shown.
The table is defined as UTF-8, the output of the xml file also.
Any idea how I could solve this problem? Thanks in advance!
Alex
in mysql show variables like '%char%'
, is it all utf-8?
in php connection to mysql, use
mysql_set_charset
to utf-8
http://forums.asp.net/t/1619144.aspx?collation+and+charset+Problem+In+MySql
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.