Reputation: 267077
For some reason, my mysql table is converting single and double quotes into strange characters. E.g
"aha"
is changed into:
“ahaâ€
How can I fix this, or detect this in PHP and decode everything??
Upvotes: 0
Views: 210
Reputation: 655239
It seems that the UTF-8 encoded string “aha”
(binary 0xE2809C 0x61 0x68 0x61 0xE2809D) is interpreted with Windows-1252. There this byte sequence represents the character sequence “ahaâ€
.
Upvotes: 0