#323: Charset encoding support