1
0
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:
Andrew Tridgell
-
parent cfd81e62c8
commit debb471267
133 changed files with 2444 additions and 8892 deletions

View File

@@ -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);