correct charset encodings/decodings (I really didn't test)

related to: https://github.com/opencart/opencart/issues/328