]> Kevux Git Server - fll/commit
Bugfix: A typo resulting in treating < 0xc3 as invalid UTF-8 when it is instead ...
authorKevin Day <thekevinday@gmail.com>
Wed, 22 Jun 2022 05:20:54 +0000 (00:20 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 22 Jun 2022 05:23:38 +0000 (00:23 -0500)
commitcd6fee673059a221b8cf504cd0f3b0cbd9b8e9ec
tree7b2fa04f3826d4e9621ef23d0ec853900d29784b
parent4b14d2ed36e680bcb361dfd0ad7b75242c0d6cec
Bugfix: A typo resulting in treating < 0xc3 as invalid UTF-8 when it is instead < 0xc2.

This is for 2-width characters, such as: '²' (U+00B2) and '½' (U+00BD).
These character should not be treated as invalid.

I have not yet investigated to see if I need to make other corrections.
This is just an obvious mistake that I found and immediately fixed.
level_0/f_utf/c/private-utf_valid.c
level_0/f_utf/tests/unit/c/test-utf-character_is_valid.c
level_0/f_utf/tests/unit/c/test-utf-is_valid.c