Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 romping around the Monastery: (13)
As of 2014-07-24 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls