in reply to A UTF8 round trip with MySQL
$dbh = connect; # fix connection for non-utf8 servers # execute this immediately $dbh->do(" SET character_set_client = utf8; SET character_set_connection = utf8; SET character_set_results = utf8; "); $data = fetch; $data = decode_utf8 $data; binmode STDOUT, ':utf8'; print $data;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A UTF8 round trip with MySQL
by clinton (Priest) on Jun 28, 2007 at 07:53 UTC | |
by Burak (Chaplain) on Jun 28, 2007 at 21:20 UTC | |
Re^2: A UTF8 round trip with MySQL
by Joost (Canon) on Jun 28, 2007 at 18:01 UTC | |
by Burak (Chaplain) on Jun 28, 2007 at 21:26 UTC | |
by Joost (Canon) on Jun 28, 2007 at 21:33 UTC | |
by Anonymous Monk on Jul 30, 2013 at 13:30 UTC | |
Re^2: A UTF8 round trip with MySQL
by Anonymous Monk on Mar 30, 2009 at 18:49 UTC |