Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
[holli]: hessenrap...
[holli]: love it :)
[Corion]: acapella hessian rap, but they also do melodic stuff, like Shout (Tears for Fears)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-11-18 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?