[Lazarus] GB18030 support in Lazarus

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 16 11:53:23 CEST 2015


On Fri, 16 Oct 2015 10:19:45 +0100
Tony Whyman <tony.whyman at mccallumwhyman.com> wrote:

> "Work": It was intended as a general question as I am trying to 
> understand where the differences are between UTF8 and GB18030, and 
> whether there is explicit support in Lazarus for GB18030, or if it is a 
> case of "Lazarus should support GB18030 because it supports UTF8".

The latter.

 
> In terms of "work", if I use functions such as UTF8Length and 
> ValidUTF8String on a GB18030 string should they always work, or are 
> there exceptions?

They only check the encoding. They don't check for codepoints, which are
not yet defined by the Unicode Standard.

 
> I am less concerned with character set conversions at present.



Mattias




More information about the Lazarus mailing list