OpenBoard-org / OpenBoard

OpenBoard is a cross-platform interactive whiteboard application intended for use in a classroom setting.
https://openboard.ch/
GNU General Public License v3.0
2.4k stars 429 forks source link

[Bug] non-English text is garbled when saved #1097

Open Jack2T opened 1 month ago

Jack2T commented 1 month ago

non-English text is garbled when saved

After entering text(non-English) in the artboard and cloning the page, the text in the cloned page will be garbled

To Reproduce

  1. Create a text and enter text (non-English)
  2. Click page clone
  3. The text in the cloned new page is garbled

Screenshots

Snipaste_2024-09-19_15-42-31 Snipaste_2024-09-19_15-42-39

Context

Additional context

Vekhir commented 1 month ago

Can you paste the exact characters that show this problem here? If you know it then perhaps also include which character set they come from (Simplified Chinese, Kanji, Katakana, Vietnamese, Thai etc.)

At least for some chinese and japanese characters, I cannot reproduce this on Linux, so maybe a Windows-only issue.

Jack2T commented 1 month ago

I have not tested it on a Linux system, so I am not sure if this issue is limited to Windows. Later, I also tested Japanese, Simplified Chinese, and Thai languages, all of which displayed garbled characters. Especially when you use full-width symbols to input punctuation marks, the issue will definitely occur. Snipaste_2024-09-21_17-27-35