Adds a fix and its test to handle special characters combinations and MySQL
Merge pull request #588 from jerefrer/incompatible_encodings_fix

Adds a fix to handle special characters combinations and MySQL