datamapper / do

DataObjects
147 stars 74 forks source link

Fix handling of UTF-8-MB4 with MySQL #94

Closed dbussink closed 8 years ago

dbussink commented 8 years ago

This would not properly tag the returned string as UTF-8 since it would not see UTF-8-MB4 as UTF-8 in Ruby land. Therefore it fell back to binary instead of the proper encoding.

Fixes #89