On Tue, 10 Jan 2023, 13:00 Dimitrij Mijoski wrote: > Fixes the conversion from UTF-8 to UTF-16 to properly return partial > instead ok. > Fixes the conversion from UTF-16 to UTF-8 to properly return partial > instead ok. > Fixes the conversion from UTF-8 to UCS-2 to properly return partial > instead error. > Fixes the conversion from UTF-8 to UCS-2 to treat 4-byte UTF-8 sequences > as error just by seeing the leading byte. > Fixes UTF-8 decoding for all codecvts so they detect error at the end of > the input range when the last code point is also incomplete. > Thanks for the patch. Do you have a copyright assignment for gcc filed with the FSF? If not, we require that, or a DCO sign-off. See https://gcc.gnu.org/contribute.html#legal and https://gcc.gnu.org/dco.html for more details.