added raw-mode (bypass encoding)