[fpc-pascal] Parse unicode scalar

Hairy Pixels genericptr at gmail.com
Mon Jul 3 08:42:05 CEST 2023



> On Jul 3, 2023, at 12:04 PM, Mattias Gaertner via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> No, the header of a codepoint to figure out the length.

so the smallest character UTF-8 can represent is 2 bytes? 1 for the header and 1 for the character? 

ASCII #100 is the same character in UTF-8 but it needs a header byte, so 2 bytes?


Regards,
Ryan Joseph



More information about the fpc-pascal mailing list