summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-02-24 04:49:10 +0000
committerMartin Pool <mbp@samba.org>2003-02-24 04:49:10 +0000
commit1a2035a8f529e7831754fd8e0fc07dd2222deddd (patch)
tree25c4b778ab882aa0133db685fa9d4e359cc82c1b /source3/lib
parenta65b65c87a61ed602cce36a24c14c02ad3b373bc (diff)
downloadsamba-1a2035a8f529e7831754fd8e0fc07dd2222deddd.tar.gz
samba-1a2035a8f529e7831754fd8e0fc07dd2222deddd.tar.bz2
samba-1a2035a8f529e7831754fd8e0fc07dd2222deddd.zip
Merge documentation from HEAD
(This used to be commit 3761f8ebe339fbbeffee9d7b69f9483ebfd9ae6b)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charcnv.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index bffa2a378c..a8df003f8b 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -22,17 +22,24 @@
*/
#include "includes.h"
-static pstring cvtbuf;
-
-static smb_iconv_t conv_handles[NUM_CHARSETS][NUM_CHARSETS];
-
/**
* @file
*
- * Character set conversion routines.
+ * @brief Character-set conversion routines built on our iconv.
+ *
+ * @note Samba's internal character set (at least in the 3.0 series)
+ * is always the same as the one for the Unix filesystem. It is
+ * <b>not</b> necessarily UTF-8 and may be different on machines that
+ * need i18n filenames to be compatible with Unix software. It does
+ * have to be a superset of ASCII. All multibyte sequences must start
+ * with a byte with the high bit set.
*
* @sa lib/iconv.c
- **/
+ */
+
+static pstring cvtbuf;
+
+static smb_iconv_t conv_handles[NUM_CHARSETS][NUM_CHARSETS];
/**