https://bugs.winehq.org/show_bug.cgi?id=42654 --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- (In reply to Peter Laursen from comment #3)
@Nikolay .. you can try yourself simply paste this
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','العربية');
.. into any Windows text editor running in Wine. Compare with same program(s) running in Windows and similar native Linux programs (Gedit, Kedit, Leafpad, whatever) in Linux.
I did just that, and if I select a Chinese font I see the Chinese characters. Like Nikolay said, it's a font replacement issue, not a utf-8 issue.(In reply to Peter Laursen from comment #3)
@Nikolay .. you can try yourself simply paste this
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','العربية');
.. into any Windows text editor running in Wine. Compare with same program(s) running in Windows and similar native Linux programs (Gedit, Kedit, Leafpad, whatever) in Linux.
This is a bug in Wine IMO - ie. there must be an assumption in code that characters are not more than 2 bytes long. Such assumption is also true for "Windows Unicode" (ie. UTF16 with Little Endian byte-order), but false for UTF8 (and Windows handles UTF8 very well for more than 10 years so Wine also should).
Wine handles UTF8 just fine. Like Nikolay said, this is a font replacement issue. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.