Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Yet Another UTF8 Issue

by Arrowhead (Monk)
on Mar 18, 2004 at 17:40 UTC ( #337743=note: print w/ replies, xml ) Need Help??


in reply to Yet Another UTF8 Issue

If you're using XML, you will have to deal with unicode.

Pretending you don't will only make things harder.

All XML parsing modules for perl will give your perl code utf-8 encoded data.

Use the latest perl 5.8.x you can find, read perluniintro.pod and go from there.

In your case, the only thing you'll have to do is indicate the encoding that you want your output in, using the 3-argument form of open() or binmode() if you're printing to an already opened filehandle.


Comment on Re: Yet Another UTF8 Issue
Re: Re: Yet Another UTF8 Issue
by stefan k (Curate) on Mar 19, 2004 at 09:53 UTC
    Thanks :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-11-23 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (128 votes), past polls