Re: [PHP] Unwanted Characters

2001-02-25 Thread Chris Adams
On 24 Feb 2001 21:31:33 -0800, Clayton Dukes <[EMAIL PROTECTED]> wrote: >How do I remove unwanted/unprintable characters from a variable? > >$sometext =3D "Th=C0e c=D8ar r=F6=F8an over m=D6y dog" >needs to be filtered and reprinted as: >"The car ran over my dog" Strip everything which isn't in th

Re: [PHP] Unwanted Characters

2001-02-25 Thread Clayton Dukes
riginal Message - From: <[EMAIL PROTECTED]> To: "Clayton Dukes" <[EMAIL PROTECTED]> Sent: Sunday, February 25, 2001 2:28 AM Subject: Re: [PHP] Unwanted Characters > Clayton Dukes wrote: > > > > How do I remove unwanted/unprintable characters from a vari

RE: [PHP] Unwanted Characters

2001-02-25 Thread PHPBeginner.com
From: Clayton Dukes [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 2:34 PM To: [EMAIL PROTECTED] Subject: [PHP] Unwanted Characters How do I remove unwanted/unprintable characters from a variable? $sometext = "ThÀe cØar röøan over mÖy dog" needs to be filtered and reprinte

Re: [PHP] Unwanted Characters

2001-02-24 Thread mwaples
Clayton Dukes wrote: > > How do I remove unwanted/unprintable characters from a variable? > > $sometext = "ThÀe cØar röøan over mÖy dog" > needs to be filtered and reprinted as: > "The car ran over my dog" > > Thanks :-) > Clayton Dukes will print what you asked - of course you may not want

Re: [PHP] Unwanted Characters

2001-02-24 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Joe Stump) wrote: > Look at the chr() function - figure out what the character is (number wise) > and > then do an ereg_replace(chr(),'',$string) (from the hip - you can do a > replace > with chr() on one of the replaces, I've done it before)

Re: [PHP] Unwanted Characters

2001-02-24 Thread Joe Stump
Look at the chr() function - figure out what the character is (number wise) and then do an ereg_replace(chr(),'',$string) (from the hip - you can do a replace with chr() on one of the replaces, I've done it before) --Joe On Sun, Feb 25, 2001 at 12:34:21AM -0500, Clayton Dukes wrote: > > How do

[PHP] Unwanted Characters

2001-02-24 Thread Clayton Dukes
How do I remove unwanted/unprintable characters from a variable? $sometext = "ThÀe cØar röøan over mÖy dog" needs to be filtered and reprinted as: "The car ran over my dog" Thanks :-) Clayton Dukes