- Index
- » Users
- » Chrstos
- » Profile
Posts
Posts
Adrian,
Thank you, that loads now. In the future, is a way for me to convert older libraries to UTF-8 and Modelica 3.x?
I am new to OpenModelica, and as an exercise downloaded the MotorCycleDynamics Library from Modelica.org (The file was not encoded in UTF-8) Trying to load this in OMEdit 1.8.1 under Windows resulted in an error saying "The File was not encoded in UTF-8" There were two more messages:
To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY").
To change it in a package: add a file package.encoding at the top-level.
The library is from 2006 and it says on Modelica.org that it has been tested in Dymola. However, is there a way to convert the library or load library's not UTF-8 encoded?
- Index
- » Users
- » Chrstos
- » Profile