summaryrefslogtreecommitdiff
path: root/source3/lib/charset.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/charset.c')
-rw-r--r--source3/lib/charset.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/lib/charset.c b/source3/lib/charset.c
index fc2924a155..6e5a4b48cb 100644
--- a/source3/lib/charset.c
+++ b/source3/lib/charset.c
@@ -320,8 +320,9 @@ clean_and_exit:
}
/****************************************************************************
-initialise the client codepage.
+ Initialise the client codepage.
****************************************************************************/
+
void codepage_initialise(int client_codepage)
{
int i;
@@ -369,6 +370,9 @@ for code page %d failed. Using default client codepage 850\n",
for(i = 0; !((cp[i][0] == '\0') && (cp[i][1] == '\0')); i++)
add_dos_char(cp[i][0], (BOOL)cp[i][2], cp[i][1], (BOOL)cp[i][3]);
}
+
+ /* Try and load the unicode map. */
+ load_dos_unicode_map(client_codepage);
}
/*******************************************************************