kdavies4 / ModelicaRes

Set up, analyze, and plot Modelica simulations in Python
http://kdavies4.github.io/ModelicaRes/
Other
51 stars 20 forks source link

UnicodeEncodeError: 'ascii' codec can't encode characters in position 33-34: ordinal not in range(128) #7

Closed arnoutaertgeerts closed 10 years ago

arnoutaertgeerts commented 10 years ago

Getting this error for .mat files generated by Dymola 2014 FD01.

UnicodeEncodeError: 'ascii' codec can't encode characters in position 33-34: ordinal not in range(128)

This is issue is probably related to https://github.com/scipy/scipy/commit/ecfae8b39e17edb64b5ad3f12bf251b1994f151a

I think the encoding should be 'latin-1' instead of 'ascii'

kdavies4 commented 10 years ago

Thanks for the catch. I assume that this is fixed with issue #8; please reopen if not.