From: Date: June 25 2005 9:16pm Subject: Re: [patch] DBD::mysql UTF-8 handling List-Archive: http://lists.mysql.com/perl/3565 Message-Id: <20050625191659.GA15536@kashome.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, On Sun, 26 Jun 2005 00:27:38 +0900, Rudy Lippan wrote: > On Sat, 25 Jun 2005, Jan Kratochvil wrote: ... > > Attached patch is just a followup to: > > http://lists.mysql.com/perl/3006?f=plain ... > But the patches don't make a distinction of binary vs. char types, ie. only > char/varchar/text/&c. should be flagged as utf-8 You are right. It was already noted in the thread round the referenced original mail. I just needed to get it working. Fast. In 99% of cases this hack should work as all the binary data should get filtered there by is_utf8_string() (on _read_, on _write_ this patch should be right). This is not for any final import but it still better hack than the one before. Regards, Lace