Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^6: DWIM with non ASCII characters

by Hue-Bond (Priest)
on May 07, 2010 at 21:06 UTC ( [id://838962]=note: print w/replies, xml ) Need Help??


in reply to Re^5: DWIM with non ASCII characters
in thread DWIM with non ASCII characters

My output doesn't match yours, even when I do have the terminal in UTF-8. But that doesn't bug me since, as ikegami points out, the string lengths I get are wrong when I use non-ASCII characters:

$ perl -l use warnings; use strict; print length 'ñ'; __END__ 2

Now I wonder how is it possible that I've never encountered any problems with this :^). Thanks!

--
 David Serrano
 (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling errors. Thank you!).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-19 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found