NYCPHP Meetup

NYPHP.org

[nycphp-talk] Converting the pesky MS Word quotes and other characters

csnyder chsnyder at gmail.com
Wed Oct 29 15:43:45 EDT 2008


On Wed, Oct 29, 2008 at 3:40 PM, Hans Zaunere <lists at zaunere.com> wrote:
>
> $this->Value = str_replace(array(chr(0x92),chr(0x93),
> chr(0x94),chr(0x96),chr(0x97),chr(0x85)),
> array('\'','"','"','-','-','...'),$this->Value);
>

Yep, use Hans' it's more readable.


Chris Snyder
http://chxor.chxo.com/



More information about the talk mailing list