Hi there,
I have inherited a database which displays some funny characters when you echo the fields. In particular it seams to have placed – where a quote mark is meant to go and ’ in place of a apostrophe.
Does anyone have any ideas how I can clean this up. I've tried 'str_replace' and it's various alternates with no luck. I assume it is a character set problem on retrieval but that still doesn't leave me with any way of sorting the problem out.
All help will be greatly appreciated.
All the best
Steve
Unwanted characters (–) in mysql records [solved]
Moderator: General Moderators
-
Steve Mellor
- Forum Commoner
- Posts: 49
- Joined: Thu Aug 02, 2007 8:18 am
Unwanted characters (–) in mysql records [solved]
Last edited by Steve Mellor on Wed Sep 12, 2007 4:39 am, edited 1 time in total.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
-
Steve Mellor
- Forum Commoner
- Posts: 49
- Joined: Thu Aug 02, 2007 8:18 am