summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/setlocale.3
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-10 22:56:18 +0000
committertjr <tjr@FreeBSD.org>2002-10-10 22:56:18 +0000
commitd62abf19a31226cab0b997316f5d332a67f9c6b8 (patch)
tree818571da6c27befa8ace080e6465f3a6668ac52e /lib/libc/locale/setlocale.3
parentc6135e53fb158af2985432f68c7a060590faf606 (diff)
downloadFreeBSD-src-d62abf19a31226cab0b997316f5d332a67f9c6b8.zip
FreeBSD-src-d62abf19a31226cab0b997316f5d332a67f9c6b8.tar.gz
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.
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 7580867..95996b7 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
OpenPOWER on IntegriCloud