search for: ucs2_to_unixcp

Displaying 1 result from an estimated 1 matches for "ucs2_to_unixcp".

2001 Mar 28
1
UTF-8 patch for Samba 2.0.7
.../source/lib/util_unistr.c Wed Mar 21 11:26:02 2001 @@ -20,6 +20,7 @@ */ #include "includes.h" +#include <iconv.h> extern int DEBUGLEVEL; @@ -31,8 +32,9 @@ static smb_ucs2_t *doscp_to_ucs2; static uint16 *ucs2_to_doscp; -static smb_ucs2_t *unixcp_to_ucs2; -static uint16 *ucs2_to_unixcp; +//static smb_ucs2_t *unixcp_to_ucs2; +//static uint16 *ucs2_to_unixcp; +iconv_t unix2ucs=(iconv_t)-1, ucs2unix=(iconv_t)-1; #ifndef MAXUNI #define MAXUNI 1024 @@ -566,7 +568,14 @@ fstrcpy(upper_unix_char_set, unix_char_set); strupper(upper_unix_char_set); - return load_unicode_map(up...