Help with TM (trademark symbol), from xml file

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
unomateo
Forum Newbie
Posts: 4
Joined: Sat Jul 01, 2006 1:36 am

Help with TM (trademark symbol), from xml file

Post by unomateo »

I'm parsing an rss feed and inserting the data into a mysql database.

There are a lot of special characters that are formatting all wrong.

the trademark symbol gets inserted into the database as ’

how do I parse the xml so that I get the proper formatting.

can I format the characters when I read from my database or should I format the character on the insert?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Use a UTF-8 character set ;)
Post Reply