question

tong avatar image
0 Likes"
tong asked tong commented

Chinese character encodes error imported from socket to FlexSim.

HI, I have a question about encodes error of chinese character when importing from clientreceive of socket to flexsim, as the figure below . 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 ?

FlexSim 18.2.3
socketchinese characterencodes error
m8c.png (578 B)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Ben Wilson commented

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

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.


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

tong avatar image tong commented ·

Thanks very much.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.