1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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.
(This used to be commit e6a083451f)
This commit is contained in:
Jeremy Allison 1998-04-03 01:04:34 +00:00
parent fd6dacbcdb
commit f9c698b5eb
2 changed files with 2 additions and 2 deletions

View 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")) {

View File

@ -62,7 +62,7 @@
* and 'coding system'.
*/
#ifndef KANJI
#define KANJI "sjis"
#define KANJI "sbcs"
#endif /* KANJI */
BOOL bLoaded = False;