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

Storable & file descriptor with UTF-8

by pirkil (Beadle)
on May 11, 2012 at 13:42 UTC ( #970019=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
     open my $out_fh, ">:encoding(UTF-8)", $opt->{out} or croak    "Can't 
    +open file $opt->{out}!";
    close $out_fh;
  2. or download this
    "\x{00f0}" does not map to utf8 at /usr/lib/perl5/site_perl/Storable.p
    +m line 303."
  3. or download this
    $Storable::drop_utf8 = 1;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://970019]
Approved by ww
[LanX]: moritz, no ... jsut copy one line of my code
[moritz]: I'm still using the CB, because ambrus's #cbstream makes it bearable
[LanX]: ... the rest is loaded from a node
[holli]: the best course of action would be to transfer the data to something well tested. even if it isnt perl based
[moritz]: but even if I had all the time in the world, I wouldn't spend much on perlmonks
[LanX]: holli: LOL
[LanX]: moritz: why ? family?
[LanX]: or other language?
[moritz]: LanX because of usability issues, and the lack of evolvement
[holli]: lol to the robust charme or to the data transfer?

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2017-11-20 19:24 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (291 votes). Check out past polls.