fixed utf8 support and documentation