[Lazarus] GB18030 support in Lazarus

Tony Whyman tony.whyman at mccallumwhyman.com
Fri Oct 16 11:19:45 CEST 2015


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

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?

I am less concerned with character set conversions at present.

Tony Whyman
MWA

On 16/10/15 10:10, Mattias Gaertner wrote:
> On Fri, 16 Oct 2015 09:31:47 +0100
> Tony Whyman <tony.whyman at mccallumwhyman.com> wrote:
>
>> Does anyone know if the lazutf8 functions also work with GB18030
>> (Chinese character set)?
> Please define "work".
>
> The LazUTF8 supports the full UTF-8 encoding, which afaik is
> enough to support all characters in GB18030.
>
> Do you only mean the unit LazUTF8 or also lconvencoding or the LCL?
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list