utf-8-question

Birgit Kellner <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
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" 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/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.