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

Re^6: DWIM with non ASCII characters

by Hue-Bond (Priest)
on May 07, 2010 at 21:06 UTC ( #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!).


Comment on Re^6: DWIM with non ASCII characters
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (17)
As of 2014-07-11 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (235 votes), past polls