Mad hack for the character encoding problems