RE: RE: Re: high-bit characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, June 9, 2007 10:43 am, WeberSites LTD wrote:
> I do want to allow some chars so I'm trying to replace them
> like this :
>
> $post_text=str_replace(chr(146),"'",$post_text);
>
> or
>
> $post_text=str_replace("?","'",$post_text);
>
>
> However, it seems that str_replace does not actually replace
> the chars cause they still end up in the output.

I dunno...

It's worked for me to rip out stupid Microsoft characters for years
and years now...

Paste actual source code, please.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux