Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: string matching with extented ASCII characters

by zakb (Pilgrim)
on Jun 11, 2003 at 08:40 UTC ( #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
Node Status?
node history
Node Type: note [id://264981]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2020-11-24 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?