[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF8 above U+10FFFF treated inconsistently
From: |
Nethox |
Subject: |
Re: UTF8 above U+10FFFF treated inconsistently |
Date: |
Sat, 2 Oct 2021 08:08:00 +0200 |
2021-09-29T21:29:55-06:00, <arnold@skeeve.com>:
> Asserts are for errors in code, not errors in data. mbrlen() has to
> return an error to user code, not fail in an assertion.
Yes. I meant the assert as a postcondition in the "recognized" cases,
where glibc's full decoder/validator code should never reach with any
of those 13 invalid bytes.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: UTF8 above U+10FFFF treated inconsistently,
Nethox <=