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

Re: string matching with extented ASCII characters

by zakb (Pilgrim)
on Jun 11, 2003 at 08:40 UTC ( [id://264981]=note: print w/replies, xml ) Need Help??


in reply to string matching with extented ASCII characters

Well, if that "" really is chr(180), then you can find it like this:

$Buffer =~ s/\xb4/4/g;

\x takes a hex code. See perlretut or perlre.

Replies are listed 'Best First'.
Re: Re: string matching with extented ASCII characters
by Anonymous Monk on Jun 11, 2003 at 08:45 UTC
    thanks zakb, actually the char(180) was not printed write in the message but \xb4 simply solved the issue. Thanks again.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-16 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found