aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/setlocale.3
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-10-10 22:56:18 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-10-10 22:56:18 +0000
commit972baa3747e149e6345e27925bf2441a99cc1898 (patch)
tree818571da6c27befa8ace080e6465f3a6668ac52e /lib/libc/locale/setlocale.3
parent9b30d71989b1191abe1a5212fa0bf89bbe2524f1 (diff)
downloadsrc-972baa3747e149e6345e27925bf2441a99cc1898.tar.gz
src-972baa3747e149e6345e27925bf2441a99cc1898.zip
Add a UTF-8 encoding method, which will eventually replace the antique
"UTF2" method. Although UTF-8 and the old UTF2 encoding are compatible for 16-bit characters, the new UTF-8 implementation is much more strict about rejecting malformed input and also handles the full 31 bit range of characters.
Notes
Notes: svn path=/head/; revision=104828
Diffstat (limited to 'lib/libc/locale/setlocale.3')
-rw-r--r--lib/libc/locale/setlocale.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3
index 75808672a823..95996b7bd5f1 100644
--- a/lib/libc/locale/setlocale.3
+++ b/lib/libc/locale/setlocale.3
@@ -334,7 +334,8 @@ and the category
.Xr strcoll 3 ,
.Xr strxfrm 3 ,
.Xr euc 4 ,
-.Xr utf2 4
+.Xr utf2 4 ,
+.Xr utf8 5
.Sh STANDARDS
The
.Fn setlocale