mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* modules/wcswidth: New file. * lib/wchar.in.h (wcswidth): New declaration. * lib/wcswidth.c: New file. * lib/wcswidth-impl.h: New file, from libutf8 with modifications. * m4/wcswidth.m4: New file. * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcswidth is declared. (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSWIDTH, HAVE_WCSWIDTH, REPLACE_WCSWIDTH. * modules/wchar (Makefile.am): Substitute GNULIB_WCSWIDTH, HAVE_WCSWIDTH, REPLACE_WCSWIDTH. * tests/test-wchar-c++.cc: Test the declaration of wcswidth. * doc/posix-functions/wcswidth.texi: Mention the new module.
26 lines
646 B
Plaintext
26 lines
646 B
Plaintext
@node wcswidth
|
|
@section @code{wcswidth}
|
|
@findex wcswidth
|
|
|
|
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/wcswidth.html}
|
|
|
|
Gnulib module: wcswidth
|
|
|
|
Portability problems fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
This function is missing on some platforms:
|
|
OpenBSD 3.8, IRIX 5.3, Solaris 2.5.1, mingw, BeOS.
|
|
@item
|
|
This function handles combining characters in UTF-8 locales incorrectly on some
|
|
platforms:
|
|
MacOS X 10.3.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot
|
|
accommodate all Unicode characters.
|
|
@end itemize
|