Which characters are allowed for name/unit/comment entries of variables? I am using the MindConnectLib in our program, and had to find out that the "°" used in units for temperatures or angles causes the variable creation to fail with a rather unhelpful error. It seems there are some more "forbidden" characters, but I could find no hint about them in the documentation.
So it would be nice to document somewhere which characters are allowed, or which are not.
Solved! Go to Solution.
When I try to create the asset signals, and one of the signals has the unit field set to "°" or "°C", regardless of the other fields, the final call to mcl_communication_exchange() returns with "400: BAD REQUEST". As I said, not a very helpful response.
@yguven Thanks for the hint. So I added to my app a UTF8 converter, and it works with all the characters that caused the interface to malfunction.
I rechecked the documentation of the MindConnectLib, and couldn't find any hint to use UTF8. Maybe that should be added somewhere so others can find it, too.