Strange activity here,
I was having some challenges with character encoding, and decided to just put html encoded characters in my DB, thinking they would be displayed properly when retrieved from the db.
But now I have
appearing in my pages where it should be human readable text.
you can see what I mean by going to http://www.hearwhere.c om and search for a city like Paris. The second result down ('le comte de') shows
in the address.
If I html_entity_dec ode that line, i end up with a bunch of crazy black diamonds around question marks.
And i even have one of those on the page further down at "Travis Barki' and then [code] ' [ /code] below that, and
below that.
I have no idea why I'm getting these kinds of values.
My encoding is set to UTF-8 which seems to be right for 90% of the results. but these others are really annoying.
Anybody know how I can resolve this?
Looking in my database, it appears the data was entered as "
is there a nice way of fixing something like this?
I was having some challenges with character encoding, and decided to just put html encoded characters in my DB, thinking they would be displayed properly when retrieved from the db.
But now I have
Code:
"
you can see what I mean by going to http://www.hearwhere.c om and search for a city like Paris. The second result down ('le comte de') shows
Code:
"
If I html_entity_dec ode that line, i end up with a bunch of crazy black diamonds around question marks.
And i even have one of those on the page further down at "Travis Barki' and then [code] ' [ /code] below that, and
Code:
é
I have no idea why I'm getting these kinds of values.
My encoding is set to UTF-8 which seems to be right for 90% of the results. but these others are really annoying.
Anybody know how I can resolve this?
Looking in my database, it appears the data was entered as "
is there a nice way of fixing something like this?
Comment