Closed thorade closed 7 years ago
Dymola 2016 FD01 has some small improvements regarding UTF8 encoding.
http://www.3ds.com/products-services/catia/products/dymola/latest-release/
To enable the new fatures, set the flag Advanced.PreferWritingLatin1:=false;
.
Dymola 2018 has improved UTF-8 capabilities and allows to store all files as UTF-8 with BOM. https://www.3ds.com/fileadmin/PRODUCTS/CATIA/DYMOLA/PDF/Dymola_Release_Notes.pdf
Closing this issue for now, as I do not know what the current status is in OpenModelica.
There have been some questions in the OpenModelica forum about OpenModelica compatibility:
OpenModelica guys give some hints how to get there: https://trac.openmodelica.org/OpenModelica/wiki/WritingCompliantLibraries Just opening the library in OpenModelica gives a lot of warnings, many of them are related to encoding. To be on the safe side, just use pure ASCII, do not use °C or m².
It would also be good to pass pedantic mode code check in the latest Dymola: