I’ve to translate chinese texts from a dwg file.
I was thinking of a PythonScript in Rhino to export each text of my model in a CSV file in order to open it in MS Excel, then translate every text content, and finally import back the translated text in the original model by replacing text objects’texts.
I can build the main workflow but I am facing difficulties with the encoding for chinese characters.
Message: 'ascii' codec can't encode character '\u5BA4' in position 0: ordinal not in range(128)
Is there someone who could help with this?