Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Export Chinese Text

$
0
0

@BaptisteC wrote:

Hi,

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?

Thanks

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles