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

Re^2: UTF-8 and XML::Parser

by Anonymous Monk
on Oct 14, 2012 at 02:51 UTC ( #998907=note: print w/ replies, xml ) Need Help??

in reply to Re: UTF-8 and XML::Parser
in thread UTF-8 and XML::Parser

what does 'use utf8;' has to do with this problem? and sure, i tried this with no luck. try it yourself. the quoted text just means i can use utf-8 encoded variable names, like:

$Müller = 23;

Comment on Re^2: UTF-8 and XML::Parser
Download Code
Replies are listed 'Best First'.
Re^3: UTF-8 and XML::Parser
by choroba (Canon) on Oct 14, 2012 at 07:37 UTC
    Not really. Try:
    perl -wE 'say length "Müller"; use utf8; say length "Müller";'
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2015-08-02 05:46 GMT
Find Nodes?
    Voting Booth?

    No recent polls found
    past polls