boostorg / locale

Boost.Locale
Boost Software License 1.0
32 stars 70 forks source link

Make utf8_codecvt::out return partial for trailing surrogates #152

Closed Flamefire closed 1 year ago

Flamefire commented 1 year ago

When a high surrogate is encountered there must be something following. If it is not, the input is incomplete, i.e. "partial".

See also https://github.com/boostorg/nowide/commit/14675cd82290fae97da7bfb1cd3aa001679c6850

Fixes #50