Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
utf-8-question

utf-8-question

2005-07-31       - By Birgit Kellner

 Back
Earlier, I had some utf8-problems with MySQL 4.1.10 and DBD-mysql 2.9*
(http://lists.mysql.com/perl/3566). For some reason, utf8-problems
returned after I had initially resolved them with a DBD-mysql-patch:
special characters like German Umlaut just weren't handled properly.

I updated DBD-mysql 3.008. I finally managed to solve the problems by
calling "set names 'utf8'" within my perl scripts each time a database
connection is made. However, I don't understand why I have to do this.

/etc/my.cnf lists "default-character-set=utf-8 (See http://utf-8.ora-code.com)" in all sections.
phpMyAdmin reports all character set variables as utf8.
When I connect to mysql from the command-line and then retrieve the
character set variables, character_set_client, character_set_connection
and character_set_results are set to "latin1". Why?

While my problems seem to be solved, I would really like to understand
what caused them in the first place,

thanks, and best regards,

Birgit Kellner

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/perl?unsub=mysql@(protected)