-
Notifications
You must be signed in to change notification settings - Fork 97
Description
When using the adapter I get a lockup then pushing japanese text. The text is "ストロークエンド軸あり", the whole line I'm sending is "2026-01-07T22:32:50.8567651Z|systemCondition|FAULT|1111|||ストロークエンド軸あり".
While experimenting with the adapter I changed all the ASCIIEncoding instances to UTF8Encoding instances. I included the relevant agent output files:
ascii-adapter-output.txt
utf8-adapter-output.txt
mtconnectoutput.txt
The difference is with the following lines:
For the UTF8Encoding version I get this returned:
<Fault dataItemId="systemCondition" timestamp="2026-01-07T23:16:17.1481955Z" sequence="80" nativeCode="1111" type="SYSTEM">ストロークエンド軸あり</Fault> , those escaped unicode characters are the correct characters for the text I passed in. The issue is that the adapter seems to lock up after sending this, but maybe that's an issue with the adapter?
For the unaltered agent I get this:
<Fault dataItemId="systemCondition" timestamp="2026-01-07T23:26:19.8203954Z" sequence="80" nativeCode="1111" type="SYSTEM">????????????</Fault>
But the adapter does not lock up.
I also included the telnet output for the adapter when run with the UTF8 encodings just in case that's useful.