https://bugs.winehq.org/show_bug.cgi?id=42654
Bug ID: 42654 Summary: 3-byte utf8-charactes don't display Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: peter_laursen@webyog.com Distribution: ---
Created attachment 57590 --> https://bugs.winehq.org/attachment.cgi?id=57590 Application cannot identify the glyphs for 3 byte utf8-characters - display as squares
This is a snippet from a SQL-script.
insert into `unitest`(`id`,`english`,`native`) values (4,'mandarin','官話'); insert into `unitest`(`id`,`english`,`native`) values (5,'thai','ไทย'); insert into `unitest`(`id`,`english`,`native`) values (6,'hindi','हिन्दी'); insert into `unitest`(`id`,`english`,`native`) values (7,'arabic','العربية'); (the origunal file is utf8-encoded)
Thai, Hindi and Mandarin characters dont display in common Windows program such as Notepad++ (a text editor) and SQLyog (a MySQL client). In Windows it works fine with same programs and in same type of native Linux programs it also does with same fonts specfied (for instance I tested that both "Liberation"and "Noto" fonts work fine in LibreOffice in Linux (not Wine) but none works in Wine.
I think that Wine does not *provide* details - such as glyphs - to applications from the font file, if the utf8-encoding for a character is more than 2 bytes long.
Tested with Wine 1.8 and 2.3 on various OpenSuSEs. No diference.
Attaching screenshot from Notepad++