[fpc-pascal] Parse unicode scalar
nc-gaertnma at netcologne.de
Mon Jul 3 10:05:31 CEST 2023
On Mon, 3 Jul 2023 12:01:11 +0700
Hairy Pixels via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> > On Jul 3, 2023, at 11:36 AM, Mattias Gaertner via fpc-pascal
> > <fpc-pascal at lists.freepascal.org> wrote:
> > Useless array of.
> > And it does not return the bytecount.
> it's an open array so what's the problem?
> > Wrong for byteCount=1
> really? How so?
> ChatGPT is risky because it will give wrong information with perfect
> confidence and there's no way for the ignorant person to know.
I wonder, is this thread about testing ChatGPT or do you want to
implement something useful?
There are already plenty of optimized UTF-8 functions in the FPC and
Lazarus sources. Maybe too many, and you have trouble finding the right
one? Just ask what your function needs to do.
More information about the fpc-pascal