Reputation: 183
I'm working with stripslashes(),str_replace(), and htmlentities() right now. Whatever gets the job done.
One weird thing, the client has a pause in some text described with '...'. When it displays on the browser it displays as a question mark graphic. Does anyone know how to just display ...? Can they please share the answer?
Example: Captain if we don't fight they...will kill us both.
Thanks in advance!
Upvotes: 0
Views: 87
Reputation: 40522
It seems someone's using "..." as single unicode character. Try this:
$string = str_replace("…", "...", $string);
Your PHP file must be saved in Unicode to make it work properly.
Upvotes: 1