[DBIx-Class-Devel] [dbsrgits/DBIx-Class-Fixtures] Failing Test for german special characters (#5)

Florian notifications at github.com
Wed Jun 8 10:18:53 GMT 2016


I'm experiencing the problems described above if the connection to mysql uses the option
`mysql_enable_utf8=1`.
With this setting enabled german umlauts loaded from fixtures are broken.

After disabling this option and loading the fixtures again with `populate` the umlauts are correctly stored.

Without looking into the code i assume that strings are not encoded to utf8 before saving them to the DB. However, with `mysql_enable_utf8=1` the driver expects strings in UTF8.

It would be great if using fixtures would work if mysql_enable_utf8 is used symmetrically:
A fixture created with `mysql_enable_utf8=0` can and should be loaded with the same setting. This should also be true for `mysql_enable_utf8=1`.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/5#issuecomment-224548570
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20160608/976b5934/attachment.htm>


More information about the DBIx-Class-Devel mailing list