Update,
as the data is inserted through php forms that run outside modx, i think it needed following:
mysql_query(”SET character_set_client = utf8;”);
mysql_query(”SET character_set_results = utf8;”);
in my config.php file. Anyway I used this and after running the correct queries, all is okay.
Only thing remaining is to rebuild them scripts to integrate the with eform.
[s]Hi,
I have not been able to do above suggestions up till today.
my config:
- System config character encoding utf-8
-template encoding : <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-database: latin1_swedish_ci
I also tried running the following from phpmyadmin. Queries were succesfull, I mean no MySQL syntax errors. But MySQL responds:
UPDATE `quartets` SET Opus=REPLACE(Opus, 'ü', 'ü');# MySQL returned an empty result set (i.e. zero rows).
On all querys shown below. And the characters on the page as well as in the database remain the way they are. What am i doing wrong here?
UPDATE `quartets` SET Composer=REPLACE(Composer, 'ç', 'ç');
UPDATE `quartets` SET Composer=REPLACE(Composer, 'ü', 'ü');
UPDATE `quartets` SET Composer=REPLACE(Composer, 'ö', 'ö');
UPDATE `quartets` SET Composer=REPLACE(Composer, 'ä', 'Ä');
UPDATE `quartets` SET Composer=REPLACE(Composer, 'Ü', 'Ü');
UPDATE `quartets` SET Opus=REPLACE(Opus, 'ç', 'ç');
UPDATE `quartets` SET Opus=REPLACE(Opus, 'ü', 'ü');
UPDATE `quartets` SET Opus=REPLACE(Opus, 'ö', 'ö');
UPDATE `quartets` SET Opus=REPLACE(Opus, 'ä', 'Ä');
UPDATE `quartets` SET Opus=REPLACE(Opus, 'Ü', 'Ü');
UPDATE `quartets` SET Publisher=REPLACE(Publisher, 'ç', 'ç');
UPDATE `quartets` SET Publisher=REPLACE(Publisher, 'ü', 'ü');
UPDATE `quartets` SET Publisher=REPLACE(Publisher, 'ö', 'ö');
UPDATE `quartets` SET Publisher=REPLACE(Publisher, 'ä', 'Ä');
UPDATE `quartets` SET Publisher=REPLACE(Publisher, 'Ü', 'Ü');
UPDATE `quartets` SET Oddities=REPLACE(Oddities, 'ç', 'ç');
UPDATE `quartets` SET Oddities=REPLACE(Oddities, 'ü', 'ü');
UPDATE `quartets` SET Oddities=REPLACE(Oddities, 'ö', 'ö');
UPDATE `quartets` SET Oddities=REPLACE(Oddities, 'ä', 'Ä');
UPDATE `quartets` SET Oddities=REPLACE(Oddities, 'Ü', 'Ü');
UPDATE `publisher` SET name=REPLACE(name, 'ç', 'ç');
UPDATE `publisher` SET name=REPLACE(name, 'ü', 'ü');
UPDATE `publisher` SET name=REPLACE(name, 'ö', 'ö');
UPDATE `publisher` SET name=REPLACE(name, 'ä', 'Ä');
UPDATE `publisher` SET name=REPLACE(name, 'Ü', 'Ü');
Update, I have been able to change a character with this query:
UPDATE `quartets` SET Composer=REPLACE(Composer, 'é', 'é');
Unfortunatly the é character was now displayed as a square
Dani�l-Lesur See: Lesur. This is driving me crazy

, cause I can change the character through a form (a bit like eform2db). And it will then show correctly?[/s]