summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2003-02-24 01:10:15 +0000
committerMartin Pool <mbp@samba.org>2003-02-24 01:10:15 +0000
commit0fc93128b8e510c3ccc161044068d9f3960635da (patch)
tree353277332834bd0e2c7644df1cad8171082af9ce /source3/lib
parent285a3b0ef869382aea892cad37284ba9cbe529d2 (diff)
downloadsamba-0fc93128b8e510c3ccc161044068d9f3960635da.tar.gz
samba-0fc93128b8e510c3ccc161044068d9f3960635da.tar.bz2
samba-0fc93128b8e510c3ccc161044068d9f3960635da.zip
Add comment about Samba character sets, from explanation by abartlet.
(This used to be commit 822f6c2f38b9b30dca2358e99ad6a379f5890c89)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charcnv.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 54e17bea68..4ac10a2e74 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -22,6 +22,19 @@
*/
#include "includes.h"
+/**
+ * @file
+ *
+ * @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.
+ */
+
static pstring cvtbuf;
static smb_iconv_t conv_handles[NUM_CHARSETS][NUM_CHARSETS];