small refactoring (UTF8_ENCODER)