diff options
author | Tom Honermann <tom@honermann.net> | 2022-06-30 08:52:15 -0400 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-07-06 09:29:45 -0300 |
commit | f4fe72a4f7b22588a7c902e39ddd3dcd244bbf9f (patch) | |
tree | 74f02f3d1d248ced7e8abae691a06305530ee80f /wcsmbs/mbsnrtowcs.c | |
parent | 8bcca1db3d7c0dc900a4cad4054c1439baf73684 (diff) | |
download | glibc-f4fe72a4f7b22588a7c902e39ddd3dcd244bbf9f.tar.gz glibc-f4fe72a4f7b22588a7c902e39ddd3dcd244bbf9f.tar.xz glibc-f4fe72a4f7b22588a7c902e39ddd3dcd244bbf9f.zip |
stdlib: Tests for mbrtoc8, c8rtomb, and the char8_t typedef.
This change adds tests for the mbrtoc8 and c8rtomb functions adopted for C++20 via WG21 P0482R6 and for C2X via WG14 N2653, and for the char8_t typedef adopted for C2X from WG14 N2653. The tests for mbrtoc8 and c8rtomb specifically exercise conversion to and from Big5-HKSCS because of special cases that arise with that encoding. Big5-HKSCS defines some double byte sequences that convert to more than one Unicode code point. In order to test this, the locale dependencies for running tests under wcsmbs is expanded to include zh_HK.BIG5-HKSCS. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'wcsmbs/mbsnrtowcs.c')
0 files changed, 0 insertions, 0 deletions