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:
parent
fd6dacbcdb
commit
f9c698b5eb
@ -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")) {
|
||||
|
@ -62,7 +62,7 @@
|
||||
* and 'coding system'.
|
||||
*/
|
||||
#ifndef KANJI
|
||||
#define KANJI "sjis"
|
||||
#define KANJI "sbcs"
|
||||
#endif /* KANJI */
|
||||
|
||||
BOOL bLoaded = False;
|
||||
|
Loading…
Reference in New Issue
Block a user