Fix for MXSUP-1646:  added check for unicode strings
Merge pull request #8 from olofsvensson/1.0

Fix for MXSUP-1646:  added check for unicode strings