replace repr, use encode('utf8, 'replace') instead