[Bug 42654] 3-byte utf8-charactes don't display

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 15 11:07:09 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=42654

--- Comment #3 from Peter Laursen <peter_laursen at webyog.com> ---
@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).

-- 
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.


More information about the wine-bugs mailing list