Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: ignore UTF codes

by ayrnieu (Beadle)
on Mar 16, 2006 at 04:20 UTC ( [id://537042]=note: print w/replies, xml ) Need Help??


in reply to ignore UTF codes

I cannot repeat your problem. However, please see if no locale doesn't help. Please also study perlunicode; someone else may have a better answer.

Works for me:

$ perl -le 'print "hello\253there"' | perl -pe 'tr/\253//d' hellothere

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-26 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found