Chinese character encodes error imported from socket to FlexSim.

Chinese character encodes error imported from socket to FlexSim.

tongsw
Not applicable
90 Views
2 Replies
Message 1 of 3

Chinese character encodes error imported from socket to FlexSim.

tongsw
Not applicable

[ FlexSim 18.2.3 ]

HI, I have a question about encodes error of chinese character when importing from clientreceive of socket to flexsim, as the figure below 20088-m8c.png . Could you tell me how to solve this problem? What is decoding rules of chinese character in FlexSim when importing chinese character from the outside ?

0 Likes
Accepted solutions (1)
91 Views
2 Replies
Replies (2)
Message 2 of 3

philboboADSK
Autodesk
Autodesk
Accepted solution

I just tested sending Chinese characters with FlexSim 19.2.0 using the socket example models, and it worked fine:

22446-socket-send-chinese-string.png

For us to be able to help you with your issue, please post an example model with replication steps on how to replicate the issue you are having.

FlexSim strings are utf-8 encoded. Make sure your data source is encoding the strings using utf-8.



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 3 of 3

tongsw
Not applicable

Thanks very much.

0 Likes