Re: Stripping Characters

From: Date: Tue, 22 Jun 2010 20:52:05 +0000
Subject: Re: Stripping Characters
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-306319@lists.php.net to get a copy of this message
On Jun 22, 2010, at 1:41 PM, Ashley Sheridan wrote:
It is clean, but as Richard mentioned, it won't handle strings outside of the traditional 128 ASCII range, so accented characters and the like will be converted to an underscore. Also, spaces might become an issue. However, if you are happy that your input won't go beyond the a-z0-9 range, then it should do what you need.
No, actually I'm fairly confident characters outside the 128 range are what are causing me problems now. So I will try Richard's method. Thanks to all. --Rick

« previous php.general (#306319) next »