Re: replace Microsoft characters with standard

From: Date: Thu, 07 Dec 2000 01:46:38 +0000
Subject: Re: replace Microsoft characters with standard
Groups: php.general 
Request: Send a blank email to php-general+get-29021@lists.php.net to get a copy of this message
You can use PHP to give you the value. if "..." is in pos 10 in a string you would use echo ord($string[10]); - Frank >I want to replace Microsoft's curly-quotes with regular html " >straight-quotes for any incoming text submitted in a form. (And some other >special-character replacements, too.) > >I know str_replace will do it. > >BUT - - - How do I find out the character hex values to replace? > >What IS that little curly-quote character? > >The "..." elipses character that MS Word creates? (which I want to convert >back into 3 periods.) > >OR: > >Does PHP4 already have some brilliant function for just this kind of thing? > > > >Any advice appreciated. > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#29021) next »