Replacing Exotic Characters

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Randwulf
Forum Commoner
Posts: 63
Joined: Wed Jan 07, 2009 7:07 am

Replacing Exotic Characters

Post by Randwulf »

I need to be able to convert ” to a set of quotation marks and … to a trio of periods, unfortunately PHP seems unable to work with the last of those symbols in both cases. How can I manage this?
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: Replacing Exotic Characters

Post by omniuni »

Try referencing with character codes.

http://tntluoma.com/sidebars/codes/

P.S. Three dots could be one of two things. As a triangle, they are a "Therefore" in a row like this: ... they're called an ellipsis. :)

Good Luck!
Randwulf
Forum Commoner
Posts: 63
Joined: Wed Jan 07, 2009 7:07 am

Re: Replacing Exotic Characters

Post by Randwulf »

omniuni wrote:Try referencing with character codes.

http://tntluoma.com/sidebars/codes/

P.S. Three dots could be one of two things. As a triangle, they are a "Therefore" in a row like this: ... they're called an ellipsis. :)

Good Luck!
Thanks you! I'll be able to give it a try tomorrow.
Post Reply