Sloeber / arduino-eclipse-plugin

A plugin to make programming the arduino in eclipse easy
https://eclipse.baeyens.it/
419 stars 131 forks source link

Support for International Characters in Serial Monitor View #1641

Open guanpengcn opened 7 months ago

guanpengcn commented 7 months ago

Hi, I would like to report an issue with the Serial Monitor View in Sloeber IDE v4.4.3.202402080117. Currently, while receiving debug information from the serial port, the view seems to have limited support for international characters. English text displays correctly, but non-English characters, specifically Chinese characters in my case, appear as gibberish or garbled text.

I have attempted to adjust the encoding settings related to Eclipse (since Sloeber is based on Eclipse), ensuring that UTF-8 is used wherever possible. However, this did not resolve the issue. The Serial Monitor View still fails to properly render Chinese characters.

Could you suggest a workaround or provide a fix for this issue? It would be greatly appreciated if the Serial Monitor View could correctly display international characters, including Chinese, without any encoding issues.

Thank you in advance for your help and support! 微信图片_20240320122304

jantje commented 7 months ago

I have never tested non ASCII text with the serial monitor so it is verry likely to have issues. One thing to look at though is the hide plotter data. This functionality will do some filtering and that may be the cause. If it still doesn't work without hiding the plotter data you will have to wait as I'm working on some big changes. image Keep me posted on whether the hide plotter data works for you

guanpengcn commented 7 months ago

Thank you for your feedback. I have tried to hide the plotter data in the Serial Monitor View, but the non-ASCII characters still cannot be displayed properly.

微信图片_20240321084932

jantje commented 7 months ago

ok thanks for the update