summaryrefslogtreecommitdiff
path: root/doc/posix-functions/wcwidth.texi
blob: d15bbb04166f6f2be686b19bcc840451c314eb40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@node wcwidth
@section @code{wcwidth}
@findex wcwidth

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/wcwidth.html}

Gnulib module: wcwidth

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, IRIX 5.3, Solaris 2.5.1, mingw, MSVC 9, BeOS.
@item
This function is not declared (without @code{-D_GNU_SOURCE}) on some platforms:
glibc 2.8.
@item
This function handles combining characters in UTF-8 locales incorrectly on some
platforms:
Mac OS X 10.3, OpenBSD 5.8.
@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