Hi, I'm not sure if UTF-8 is working, as it should, I’m pretty new to Drupal, Mysql and PHP.
The thing is that everything is looking good in Drupal, Swedish characters is working as expected. But when I’m using phpmyadmin or "Mysql command line client" to look at the data, Swedish characters is junk, the character ä (letter a with two dots over) become ä.
When I’m in a Drupal page is writing "$result = db_query("SELECT * FROM {term_data} d....", the Swedish characters is also junk.
If i dump some data from phpmyadmin the letter ä is 0xc383c2a4 (is this the character ä)??
When I’m doing what http://drupal.org/node/40515 (and other treads) suggests, I’m getting this on every page:
Notice: unserialize() [function.unserialize]: Error at offset 42 of 46 bytes in C:\sites\drupal\includes\bootstrap.inc on line 197
Notice: unserialize() [function.unserialize]: Error at offset 28 of 32 bytes in C:\sites\drupal\includes\bootstrap.inc on line 197
Notice: unserialize() [function.unserialize]: Error at offset 34 of 43 bytes in C:\sites\drupal\includes\bootstrap.inc on line 197
I'm using:
Drupal 4.7.0 beta
PHP 5.1.1 (tried with 5.0.5 before)
MYSQL 5.0.16 (tried with 4.1.15 before)
IIS 6
Server variables and settings from PHPMyadmin:
character set client utf8 utf8
character set connection utf8 utf8
character set database utf8 utf8
character set results utf8 utf8