Re: cvs: php-src /ext/mcrypt/tests bug41252.phpt

From: Date: Thu, 19 Jul 2007 15:32:40 +0000
Subject: Re: cvs: php-src /ext/mcrypt/tests bug41252.phpt
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-45463@lists.php.net to get a copy of this message
On 19.07.2007 19:26, Derick Rethans wrote:
-$td = mcrypt_module_open(MCRYPT_DES, '', MCRYPT_MODE_ECB, ''); +$td = mcrypt_module_open(MCRYPT_DES, b'', MCRYPT_MODE_ECB, b'');
That doesn't look right, these two parameters are directory names and they could just as well be in unicode. They should use the filename_encoding setting to convert from Unicode to the filesystem encoding - not just binary strings.
Then there is something wrong with the code, since I got "expected strictly binary string, got Unicode string instead" warning. -- Wbr, Antony Dovgal

« previous php.cvs (#45463) next »