Bug #67451 [NEW]: MD5 and national characters
| From: | frenky dot pv at atlas dot cz | Date: | Mon, 16 Jun 2014 09:03:55 +0000 |
| Subject: | Bug #67451 [NEW]: MD5 and national characters | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186204@lists.php.net to get a copy of this message | ||
From: frenky dot pv at atlas dot cz
Operating system: Win2012, 64bit
PHP version: 5.5.13
Package: *General Issues
Bug Type: Bug
Bug description:MD5 and national characters
Description:
------------
PHP:
md5('házená') = 3d560aed38ceab4eb6892b7aa377d39a (wrong)
MySQL:
SELECT MD5('házená') = 6270f1b53a892b56531f91e66d5d7139 (correct)
'házená' is the Czech word translation into English 'handball'.
Have something similar was written:
http://cz1.php.net/manual/en/function.md5.php#31238
--
Edit bug report at https://bugs.php.net/bug.php?id=67451&edit=1
--