I feel like I'm punching nails here =(
This is what I've tried so far:
- The
patch suggested by randyk. I downgraded DBD::mysql to version 2.9008 to be able to apply it.
- rebuilding the database AND the tables setting the default charset to utf8.
- using the Encode module to encode a string to utf8 similar to what is suggested
here.
None of the above worked, as I'm still getting "junk" when trying to INSERT via DBI. And it has to be either the module or maybe some missing locale setting (I've tried changing it as well with Posix locale_h, but no success), since I can perform INSERTs via the MySQL shell using accents just fine.
Any help is appreciated.