Hack for fixing regex encoding errors with recent ruby versions. Forcing UTF-8.