triming utf8 (?) a string

From: Date: Mon, 09 Jul 2007 00:28:15 +0000
Subject: triming utf8 (?) a string
Groups: php.general 
Request: Send a blank email to php-general+get-258478@lists.php.net to get a copy of this message
I'm using the PEAR Crypt_Blowfish module. When I decrypt the encrypted string the result is the original plus some '\ufffd' bytes. How can I get rid of those extra bytes? I've tried both trim($x,'\ufffd') and trim($x,utf8_decode('\ufffd')). -- "Economics is extremely useful as a form of employment for economists." -- John Kenneth Galbraith Rick Pasotto rick@niof.net http://www.niof.net

« previous php.general (#258478) next »