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

Reply via email to