md5_hex expects each input character to be a byte (ord = 0..255), whether internally encoded as UTF-8 or not. That's fine.
For simplicity and efficiency, it converts these characters into actual bytes if the internal encoding is UTF-8 using utf8::downgrade or something equivalent.
This means your database or database interface (as used) expects bytes, so it expects your text to be *encoded*.
In reply to Re: UTF spooky action
by ikegami
in thread UTF spooky action
by wes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |