QUOTE (Rohit @ Mar 28 2007, 11:52 AM)

@DonQuichote:
Did you create the PHP page as a workaround because the Unicode features of SQLyog were not working as you had expected?
We really want to know if you are STILL not able to see data properly from your local server.
Well, yes. But that was when I was working with the previous versions (5.x). I could not find any other database frontend as well that gave me utf-8 compliance. The data gets sent as unicode and all the character set variables (I wish they had called them encoding variables) are pointing at utf-8. I have baretail running to see what is sent exactly and it is really utf-8. Off course, it could be that my MySQL version translates the encoding, but it should not do that (see variables posted earlier).
Extra test:
This really gets funny.
I type in the SQLyog window:
INSERT INTO ErrorLog(strMessage, tstOccurredAt) VALUES('€ 5',NOW());
and check the contents of the table ErrorLog. I see a euro sign. I check the MySQL query log. It also shows a euro sign. I view the page online and it shows a question mark. The page is viewed in utf-8 and I do no conversions in my code.
The querylog shows:
070330 9:57:48 6 Connect root@localhost on
6 Query use `HamerReport`
6 Query show variables like '%%character%%'
6 Query Set character_set_connection=utf8
6 Query Set character_set_results=utf8
6 Query Set character_set_client=utf8
...
070330 9:59:54 6 Query INSERT INTO ErrorLog(strMessage, tstOccurredAt) VALUES('€ 5',NOW())
With my workaround-page, I correct the question mark to a euro sign. I check the query log. It shows a euro sign. I check the contents of the table in SQLyog. It shows "€ 5". I check the page online and see a euro sign.
The SQL log shows:
070330 10:02:38 12 Connect admin@localhost on
12 Init DB hamerreport
12 Query SHOW TABLES
12 Query SHOW FIELDS FROM ErrorLog
12 Query SELECT intErrorLogId, strMessage FROM ErrorLog ORDER BY strMessage
12 Query UPDATE ErrorLog SET strMessage='€ 5' WHERE intErrorLogId=1
Fearing this is a settings problem, I check my.ini. It shows:
default-character-set=utf8
in both the [mysql] and the [mysqld] sections, and all sorts of other quite specific settings that work (so I have the right file).
I hope this is of any help.