Convert all Chinese text to UTF-8 encoding while parsing. Move the local runner to a separate file.