Reputation: 845
I'm receiving data from my database, and I'm showing it through echo statements, but for some reason all the basic punctuation eg (',") are all returning small diamonds with Questionmarks inside of them, can someone tell me what is wrong?
Upvotes: 0
Views: 435
Reputation: 69
It sounds like you may need to escape some of those special characters. Here is a list of escape codes that you can use:
If using these codes doesn't work, make sure that the actual document encoding matches the UTF-8 encoding specified. This can be examined in a text editor like Notepad++.
Upvotes: 1