I'm losing the will to live!
I'm currently trying to place array values from php files into a mysql db table. As it happens some of the values have non-ASCII values:
I seem to be able to encode all my usual accented characters, but the slanted inverted commas/quotes. They end up as some kind of gibberish:
My DB collation is UTF8/utf8_bin
My webpage encoding is UTF8
I have used:
mysql_query("SET NAMES 'utf8'");
as part of my connection procedure.
Background: this is for a phpBB language file translation, which is full of simple key-value arrays. I'm just reading the key+values and placing them into a table (id/key/value/translation).
I can enter slanted quotes into the DB manually, but then they don't show when retrieved (invisible).