[Lazarus] *** GMX Spamverdacht *** Re: Improving UTF8CharacterLength?

Jürgen Hestermann juergen.hestermann at gmx.de
Thu Aug 13 13:18:27 CEST 2015


Am 2015-08-13 um 12:59 schrieb Michael Van Canneyt:
>
>
> On Thu, 13 Aug 2015, Jürgen Hestermann wrote:
>
>> Determining the character length of a invalid UTF-8 string is quite useless.
>
> Because it's not about getting a correct result then, but about not crashing due to invalid memory access.

But invalid memory access takes place anyway (within UTF8CharacterLength).
So what is gained?




More information about the Lazarus mailing list