Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Unknown characters

by rowdog (Curate)
on Feb 10, 2011 at 05:43 UTC ( [id://887342]=note: print w/replies, xml ) Need Help??


in reply to Unknown characters

I suspect you're running into the Internet Line Terminator aka \r\n. Try something like this.

{ local $/ = "\r\n"; chomp $msg; }

Better yet, check what that character actually is. \r = 13.

chomp $msg; print ord(reverse $msg), "\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://887342]
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 2026-02-07 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.