summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-04-03 01:04:34 +0000
committerJeremy Allison <jra@samba.org>1998-04-03 01:04:34 +0000
commite6a083451f8785fa1c00314a958007fe96fcc039 (patch)
tree64ac3d2860855157a1314b26a931199880344418 /source
parent0f4914b870b0dfa876ac47d29f3a1b3736a3d698 (diff)
downloadsamba-e6a083451f8785fa1c00314a958007fe96fcc039.tar.gz
samba-e6a083451f8785fa1c00314a958007fe96fcc039.tar.xz
samba-e6a083451f8785fa1c00314a958007fe96fcc039.zip
Fix from Josef Hinteregger <joehtg@joehtg.co.at> for using
character set = iso8859-1 with the new multibyte char code. Was always using sj_to_sj conversion in error. Jeremy.
Diffstat (limited to 'source')
-rw-r--r--source/lib/kanji.c2
-rw-r--r--source/param/loadparm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/kanji.c b/source/lib/kanji.c
index 93604055476..994cf6e1bd0 100644
--- a/source/lib/kanji.c
+++ b/source/lib/kanji.c
@@ -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")) {
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 2527692bc5e..20479bf96d4 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -62,7 +62,7 @@
* and 'coding system'.
*/
#ifndef KANJI
-#define KANJI "sjis"
+#define KANJI "sbcs"
#endif /* KANJI */
BOOL bLoaded = False;