Aiden Ryan
Aiden Ryan

Reputation: 845

Basic Punctuation Symbol Errors

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

Answers (1)

ScotlandBard
ScotlandBard

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:

Escape Character Codes

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

Related Questions