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

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to