Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: UTF-8 for Everything

by duelafn (Vicar)
on Jul 06, 2013 at 20:16 UTC ( #1042943=note: print w/replies, xml ) Need Help??


in reply to UTF-8 for Everything

Include the :std argument to your use open line to auto-binmode the STD*.

Pass a filehandle to HTML::TreeBuilder's parse_file() instead of a file name.

Good Day,
    Dean

Replies are listed 'Best First'.
Re^2: UTF-8 for Everything
by shawnhcorey (Friar) on Jul 07, 2013 at 01:02 UTC

    Thanks, I missed that one.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1042943]
help
Chatterbox?
[Corion]: dazz: BTW, the following should work (no Image::Magick installed, so untested): open(my $fh, '<', \$jpegbuffer); $image->Read(file= > $fh);
[choroba]: Hm, it seems my humble contributions to CPAN pass their test suites with the PERL5OPT set
[Corion]: choroba: I think most of my distributions still do, but some use Module::Install from inc and some use a modulino-style Makefile.PL to provide information to the author tests, so I certainly need/want to retest mine

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2017-03-27 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (317 votes). Check out past polls.