The problem was actually that octal characters should begin with '0' and be 7 bits 
digits...
\0223 would not work, so you have to use the hexadecimal digit \x93

xg
-----Message d'origine-----
De : Hugh Pierce <[EMAIL PROTECTED]>
� : '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date : mercredi 16 f�vrier 2000 18:00
Objet : RE: Special characters


223 base 8 = 93 base 16.

s/\x92/\'/g;
s/\x93/\"/g;
s/\x94/\"/g;

Merci beaucoup.

--HAPS
(304) 870-1230


-----Original Message-----
From: Xavier GROSJEAN [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 16, 2000 11:27 AM
To: Hugh Pierce; [EMAIL PROTECTED]
Subject: Re: Special characters


Try :

s/\x93/\"/ ;

regards

xavier

-----Message d'origine-----
De : Hugh Pierce <[EMAIL PROTECTED]>
� : '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date : mercredi 16 f�vrier 2000 17:21
Objet : Special characters


>Using the lwp package to download files from one site in particular I
notice
>that it contains ^M's, which are removed with:
> 
>s/\015$//;
> 
>but it also has \223 and \224 which I want to replace with "
> 
>This does not work:
> 
>s/\223/\"/;
> 
>--HAPS

Reply via email to