I was trying to store some chinese characters into mysql table.
they become something like this:
烈火雄心
They work fine when I output them in innerhtml, but if it's an html attribute, they won't show the chinese characters.
Strangely, if I saved the data in utf8_bin or utf8_unicode, they works ok.
Any fix to this?
To be more specific, I'm using codeIgniter when doing this.