Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Mark up LC_CTYPE as environment variable.
details: https://anonhg.NetBSD.org/src/rev/b2aea053d74a
branches: trunk
changeset: 784901:b2aea053d74a
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Feb 13 22:19:48 2013 +0000
description:
Mark up LC_CTYPE as environment variable.
diffstat:
lib/libc/gen/vis.3 | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r 84d408f14f57 -r b2aea053d74a lib/libc/gen/vis.3
--- a/lib/libc/gen/vis.3 Wed Feb 13 22:19:18 2013 +0000
+++ b/lib/libc/gen/vis.3 Wed Feb 13 22:19:48 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: vis.3,v 1.35 2013/02/13 22:17:12 christos Exp $
+.\" $NetBSD: vis.3,v 1.36 2013/02/13 22:19:48 wiz Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -397,11 +397,13 @@
.Sh MULTIBYTE CHARACTER SUPPORT
These functions support multibyte character input.
The encoding conversion is influenced by the setting of the
-LC_CTYPE environment variable which defines the set of characters
+.Ev LC_CTYPE
+environment variable which defines the set of characters
that can be copied without encoding.
.Pp
-When 8-bit data is present in the input, LC_CTYPE must be set to
-the correct locale or to the C locale.
+When 8-bit data is present in the input,
+.Ev LC_CTYPE
+must be set to the correct locale or to the C locale.
If the locales of the data and the conversion are mismatched,
multibyte character recognition may fail and encoding will be performed
byte-by-byte instead.
Home |
Main Index |
Thread Index |
Old Index