Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Encoding issue from DBI to string

by ev0lution (Initiate)
on Jan 03, 2013 at 16:28 UTC ( #1011485=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my $dbh = DBI->connect("DBI:mysql:$db_name1:$db_host1:$db_port1","$db_
    +user1","$db_pw1", {RaiseError => 1, PrintError => 0, mysql_enable_utf
    +8 => 1, ChopBlanks =>0}); 
     my $RowSet = $dbh->selectall_arrayref("SELECT * FROM CollectionDB.ISI
    +S WHERE SourceID = '$PassedSource' ORDER BY ObjectKey DESC");
  2. or download this
    artTitle is ?????? ?? ??? ???? ???? ???? 
    Encoding test on Title results: UTF8 off, ASCII, 28 characters 28 byte

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1011485]
Approved by bitingduck
[stevieb]: ahhh yes, it *is* a ref. I had forgotten that. I too have learned something. I quit too!!
[marioroy]: Is List::Util::XS a core Perl module?
[stevieb]: corelist List::Util::XS says "List::Util::XS was first released with perl v5.10.1"
[stevieb]: so yes, since v5.10.1 :)
[MidLifeXis]: According to [metaperl:// corelist], Perl 5.10.1
Lady_Aleena blurbles. One of her favorite modiles is now in "maintenance mode" in favor of a new fangled module.
[MidLifeXis]: D'oh. Slow out of the gate.
[marioroy]: Thanks stevieb, MidLifeXis.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2017-05-24 17:51 GMT
Find Nodes?
    Voting Booth?