12-19-2008, 02:25 AM
|
#1 (permalink)
|
|
The Contributor
Join Date: Feb 2007
Posts: 64
Thanks: 9
|
Unexpected characters in output
I am getting some weird characters in the output from my script. It is a light CMS that enters content in the database. When I output from the database, I get characters like  right after all periods.
What causes this? My database collation is latin1_swedish_ci and my template document sets the page as UTF8 ( browser is also showing UTF8 ).
Is this an encoding issue? I thought for a second maybe I should change the collation to UTF8, but there's so many choices in the database for that. Then I checked out UTF8_encode PHP function, but wasn't sure if I should all data entered into the database through this.
|
|
|
|