You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some (if not all?) OpenModelica Scripting API commands that return Strings, return them in the same format as they would need to be written in a Modelica program, i.e. with escape signs for newlines, quotes, and the like. You should therefore...
Check whether omc-java-api already performs some unescaping, and if this is the case check whether it is correct. As a reference, you can use the unescape function in MoST.jl. It is tested for quite a few cases and the collection of escaped signs is taking directly from the Modelica Specification.
Keep an eye out for escape signs in your output and verify if they should be there or not.
If you notice any issues, implement your own unescape function that fixes them or (if it exists) fix the unescape in omc-java-api.
The text was updated successfully, but these errors were encountered:
Some (if not all?) OpenModelica Scripting API commands that return Strings, return them in the same format as they would need to be written in a Modelica program, i.e. with escape signs for newlines, quotes, and the like. You should therefore...
The text was updated successfully, but these errors were encountered: