force content encoding to UTF8 before any ruby manipulation