UTF8 sanitizer: Warkaround for old ruby (1.9,2.0)