Hello everybody
I am currently trying to get some utf 8 encoded data from the data base:
For example the String "Message's" is saved as "Message’s"
Without yii when echoing it out it was enough to have the charset set on utf-8.
Yii however echos out "Message’s" although its charset is utf-8 too.
I have already tried php's utf8_decode() function but it just returns some gibberish:
Message�??s
So my Question is: How am i able to echo out the decoded String?
I am currently trying to get some utf 8 encoded data from the data base:
For example the String "Message's" is saved as "Message’s"
Without yii when echoing it out it was enough to have the charset set on utf-8.
Yii however echos out "Message’s" although its charset is utf-8 too.
I have already tried php's utf8_decode() function but it just returns some gibberish:
Message�??s
So my Question is: How am i able to echo out the decoded String?