[eluser]Unknown[/eluser]
[quote author="AtPgaGa" date="1268183800"]Use UTF-8 for all your scripts, database and html[/quote]
Thank you~
Other Class,Such as Database Class,worked very smoothly.
Only Cart Class.
So,possibly,it was not a problem with charset.
In HTML
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
In CI config
Code:
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
You remind me converted string,so I use this script:
Code:
'name' => iconv("UTF-8", "ISO-8859-1//IGNORE", "T恤"), PHP_EOL,
But only "T" was transferred,"恤" was lost