[PATCH v5 2/5] libcpp: add a function to determine UTF-8 validity of a C string

Jason Merrill jason@redhat.com
Mon Oct 23 15:24:22 GMT 2023


On 10/23/23 11:16, David Malcolm wrote:
> On Wed, Jan 25, 2023 at 4:09 PM Ben Boeckel via Gcc <gcc@gcc.gnu.org> wrote:
>>
>> This simplifies the interface for other UTF-8 validity detections when a
>> simple "yes" or "no" answer is sufficient.
>>
>> libcpp/
>>
>>          * charset.cc: Add `_cpp_valid_utf8_str` which determines whether
>>          a C string is valid UTF-8 or not.
>>          * internal.h: Add prototype for `_cpp_valid_utf8_str`.
>>
>> Signed-off-by: Ben Boeckel <ben.boeckel@kitware.com>
> 
> [going through patches in patchwork]
> 
> What's the status of this patch; did this ever get committed?

It was superseded.

Jason



More information about the Gcc mailing list