Forum Moderators: coopster

Message Too Old, No Replies

html special entities

Â

         

d40sithui

7:01 pm on Aug 14, 2007 (gmt 0)

10+ Year Member



Anyone have ideas for search a string with weird characters like Â, etc. the problem is when i store this in the database "TapRooT®", it comes out like TapRooT® when i retrieve it. even if i store it as 'TapRoot®', it does not evaluate it to be ®.
Also i the db, when i query the string is ®
weird eh..any suggestions?

PHP_Chimp

8:01 pm on Aug 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What character set are you using to store and then read the data when you have retrieve it?
Are they the same set?

d40sithui

12:49 pm on Aug 15, 2007 (gmt 0)

10+ Year Member



thansk. i think i found a way around it. for some reason when i store a string like "TapRooT®" into the db, its stored as "TapRooTÂ$reg;" when i query for it. I'm just gonna strip off the "Â" portion to make it display properply.