Hey Dojo-community
I have a driver where we need to support Unicode characters.
As there is a WebSocket implemented, we use the connections tag and the type tag is omitted.
To set the protocol to Unicode I use the following:
<Options>
<Encoding>unicode</Encoding>
</Options>
When adding this tag, the WebSocket seems to respond differently then before.
We lay subscriptions on certain parameters, for which it previously updated us with the message with the state of that parameter. Now it just sends us an empty message.
To subscribe to certain events we use the following pair/command:
<Pair id="1">
<Name>Subscribe</Name>
<Description>Subscribe</Description>
<Content>
<Command>1</Command>
</Content>
</Pair><Command id="1" ascii="true">
<Name>Subscribe</Name>
<Description>Subscribe</Description>
<WebSocketMessageType>text</WebSocketMessageType>
<Content>
<Param>45</Param>
</Content>
</Command>
Just to be sure I already tried removing the ascii="true" to no avail.
Is there something else I have to take into account when switching to unicode?
Found out this is a software issue.
Software is currently working on a solution for this problem.
progress can be tracked under this task:
https://collaboration.dataminer.services/task/181931