mirror of
https://github.com/samba-team/samba.git
synced 2025-11-23 20:23:50 +03:00
The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
This commit is contained in:
@@ -446,8 +446,6 @@ int smbc_init(smbc_get_auth_data_fn fn, int debug)
|
||||
|
||||
slprintf(my_netbios_name, 16, "smbc%s%d", user, pid);
|
||||
|
||||
charset_initialise();
|
||||
|
||||
/* Here we would open the smb.conf file if needed ... */
|
||||
|
||||
home = getenv("HOME");
|
||||
@@ -471,8 +469,6 @@ int smbc_init(smbc_get_auth_data_fn fn, int debug)
|
||||
|
||||
}
|
||||
|
||||
codepage_initialise(lp_client_code_page()); /* Get a codepage */
|
||||
|
||||
reopen_logs(); /* Get logging working ... */
|
||||
|
||||
name_register_wins(my_netbios_name, 0);
|
||||
|
||||
Reference in New Issue
Block a user