http://qs321.pair.com?node_id=264981


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.