From: Bruno Haible Date: Thu, 13 Jul 2023 11:42:08 +0000 (+0200) Subject: doc: Mention c32_get_mapping, c32_apply_mapping. X-Git-Tag: v1.0~1112 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=c9368f9c8d7c521dfacb60601c852c3423b7d103;p=gnulib.git doc: Mention c32_get_mapping, c32_apply_mapping. * doc/posix-functions/wctrans.texi: Mention c32_get_mapping. * doc/posix-functions/towctrans.texi: Mention c32_apply_mapping. * doc/strings.texi (Comparison of character APIs): Mention both. --- diff --git a/ChangeLog b/ChangeLog index 2e8c72eeda..76031ff912 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2023-07-13 Bruno Haible + doc: Mention c32_get_mapping, c32_apply_mapping. + * doc/posix-functions/wctrans.texi: Mention c32_get_mapping. + * doc/posix-functions/towctrans.texi: Mention c32_apply_mapping. + * doc/strings.texi (Comparison of character APIs): Mention both. + c32_apply_mapping: Add tests. * tests/test-c32_apply_mapping.c: New file. * modules/c32_apply_mapping-tests: New file. diff --git a/doc/posix-functions/towctrans.texi b/doc/posix-functions/towctrans.texi index 838701fb9c..6cbf58e6c6 100644 --- a/doc/posix-functions/towctrans.texi +++ b/doc/posix-functions/towctrans.texi @@ -18,4 +18,7 @@ Portability problems not fixed by Gnulib: @item On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and therefore cannot accommodate all Unicode characters. +However, the Gnulib function @code{c32_apply_mapping}, provided by Gnulib +module @code{c32_apply_mapping}, operates on 32-bit wide characters and +therefore does not have this limitation. @end itemize diff --git a/doc/posix-functions/wctrans.texi b/doc/posix-functions/wctrans.texi index 2fcc2df44a..b48ac9658c 100644 --- a/doc/posix-functions/wctrans.texi +++ b/doc/posix-functions/wctrans.texi @@ -18,4 +18,7 @@ Portability problems not fixed by Gnulib: @item On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and therefore cannot accommodate all Unicode characters. +However, the Gnulib function @code{c32_get_mapping}, provided by Gnulib module +@code{c32_get_mapping}, operates on 32-bit wide characters and therefore does +not have this limitation. @end itemize diff --git a/doc/strings.texi b/doc/strings.texi index 9ea9c8a5b8..32165ac403 100644 --- a/doc/strings.texi +++ b/doc/strings.texi @@ -858,8 +858,14 @@ POSIX and in Gnulib. @item -- @tab -- -@tab @code{towctrans} +@tab @code{wctrans} +@tab @code{c32_get_mapping} @tab -- + +@item -- +@tab -- +@tab @code{towctrans} +@tab @code{c32_apply_mapping} @tab -- @item --