Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 studying the Monastery: (3)
As of 2024-03-29 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found