Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenModelica compatibility #32

Closed
thorade opened this issue Oct 26, 2015 · 3 comments
Closed

OpenModelica compatibility #32

thorade opened this issue Oct 26, 2015 · 3 comments

Comments

@thorade
Copy link
Contributor

thorade commented Oct 26, 2015

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:
dymola_pedantic

@thorade
Copy link
Contributor Author

thorade commented Nov 30, 2015

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;.

@thorade
Copy link
Contributor Author

thorade commented Jul 31, 2017

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

@thorade
Copy link
Contributor Author

thorade commented Jul 31, 2017

Closing this issue for now, as I do not know what the current status is in OpenModelica.

@thorade thorade closed this as completed Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant