[Lazarus] TDBEdit shows 4 characters from a Char(1) field

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Aug 5 12:40:04 CEST 2008


On Tue, Aug 5, 2008 at 9:47 AM, Marco van de Voort <marcov at stack.nl> wrote:
> On Tue, Aug 05, 2008 at 08:50:29AM +0200, Martin Schreiber wrote:
>> With UCS2/utf-16 on the other hand *all* current users of MSEgui can store
>> *all* the codepoints they need in a single utf-16 word
>
> ?? Martin, can you make a formal statement about what MSEGUI now supports? I
> keep getting the feeling you only support UCS-2.

That's my point!  MSEgui states on their website that they only
support UCS-2.  But because UCS-2 and UTF-16 are similar for the BMP
only, may projects (MSEgui excluded) suggest they are UTF-16
compliant, which they are NOT!  Even in the above statement from
Martin, he makes that mistake... quoting UCS2/utf-16 which makes
people assume he supports the full UTF-16, but doesn't.

This I consider a major downfall for utf-16.  You never have this
issue with UTF-8 because you have to handle multibyte character from
the start!  The code path for utf-8 will be well tested.



Regards,
 - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the Lazarus mailing list