Fix from Josef Hinteregger <joehtg@joehtg.co.at> for using
authorJeremy Allison <jra@samba.org>
Fri, 3 Apr 1998 01:04:34 +0000 (01:04 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 3 Apr 1998 01:04:34 +0000 (01:04 +0000)
character set = iso8859-1 with the new multibyte char code.
Was always using sj_to_sj conversion in error.
Jeremy.

source/lib/kanji.c
source/param/loadparm.c

index 9360405547672d0f7fd89bc3c9fbc942106b8599..994cf6e1bd074038dcb7718371dfdb29b7be40e9 100644 (file)
@@ -1108,7 +1108,7 @@ void interpret_coding_system(char *str)
     } else if (strequal (str, "hex")) {
        codes = HEX_CODE;
        hex_tag = HEXTAG;
-    } else if (strncasecmp (str, "hex", 3)) {
+    } else if (!strncasecmp (str, "hex", 3)) {
        codes = HEX_CODE;
        hex_tag = (str[3] ? str[3] : HEXTAG);
     } else if (strequal (str, "j8bb")) {
index 2527692bc5e9a9c4f4b2d843376b57c5a6be26d6..20479bf96d46d01624be2c56ae89edd1da63abbb 100644 (file)
@@ -62,7 +62,7 @@
  * and 'coding system'.
  */
 #ifndef KANJI
-#define KANJI "sjis"
+#define KANJI "sbcs"
 #endif /* KANJI */
 
 BOOL bLoaded = False;