The character é
appears as a question mark in Chrome. I'm using PHP to get the content from MySQL to output to HTML. I tried using mb_detect_encoding()
to determine the contents' encoding, some are ASCII and some are UTF-8. Why do they have different encodings? Is MySQL making them different or is PHP doing this?
The content containing the é
is encoded as UTF-8. But if I use utf8_encode()
on the content, the character displays correctly. If it's already UTF-8, why does using utf8_encode()
make it display correctly?