[drupal-support] Charset problem
Steve Dondley
stevedondley at comcast.net
Mon Feb 28 14:31:07 UTC 2005
I'm using mysql 3.23 and Drupal 4.5 on an Apache/Linux server, PHP
version 4.10. My older version of MySQL stores all text as latin1, the
equivalent of iso-8859-1 extended. But I notice that Drupal outputs
pages using the utf-8 character set. This is causing problems with the
extended iso-8859-1 characters (Micorsoft's curly quotes, etc.) and they
usually show up as question marks in the text.
To solve the problem, I changed the charset argument in the
drupal_set_header() function to iso-8859-1. This took care of the
problem. But now, of course, any UTF-8 encoded text shows funky
characters.
What's the best way to get Drupal to output both UTF-8 and iso-8859-1
extended characters properly?
More information about the drupal-support
mailing list