]> arthur.barton.de Git - netatalk.git/commitdiff
default charset
authorHAT <hat@fa2.so-net.ne.jp>
Sat, 17 Mar 2012 16:18:04 +0000 (01:18 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Sat, 17 Mar 2012 16:18:04 +0000 (01:18 +0900)
config/afp.conf
libatalk/unicode/charcnv.c

index 89745a694a35303adac8470cc4ea5a3c323f1f3e..a70b1b3e13f07594a7dcc2d0059765cf06cfe696 100644 (file)
@@ -3,9 +3,13 @@
 ;
 
 [Global]
-
 ; Global server settings
 
+    unix charset = UTF8
+    vol charset = UTF8
+    mac charset = MAC_ROMAN
+
+
 ; [My AFP Volume]
 ;
 ; path = /path/to/volume
index 33baa64681bdf8e98ba10777c09ad7ba84fc99ea..fe33a21784f3eeb0125c33c99d0282c4f43f3665 100644 (file)
@@ -127,7 +127,7 @@ static const char *charset_name(charset_t ch)
         if (ln) {
             /* Check whether the charset name is supported
                by iconv */
-            LOG(log_info, logtype_default, "Locale charset is '%s'", ln);
+            LOG(log_debug, logtype_default, "Locale charset is '%s'", ln);
             atalk_iconv_t handle = atalk_iconv_open(ln, "UCS-2");
             if (handle == (atalk_iconv_t) -1) {
                 LOG(log_warning, logtype_default, "Locale charset '%s' unsupported, using ASCII instead", ln);