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

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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2015-10-10 00:23 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls