Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Switching on internal UTF-8 flaq on DBI result from database

by Aristotle (Chancellor)
on Dec 14, 2003 at 17:19 UTC ( #314653=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub _utf8_on_all_arrayref {
        require Encode;
        Encode::_utf8_on($_) for map @$_, @{$_[0]};
        $_[0];
    }
    
  2. or download this
    sub _utf8_on_all_arrayref {
        require Encode;
        Encode::_utf8_on($$_) for map \(@$_), @{$_[0]};
        $_[0];
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://314653]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2016-08-30 19:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (420 votes). Check out past polls.