search for: upper_unix_char_set

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

2001 Mar 28
1
UTF-8 patch for Samba 2.0.7
...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(upper_unix_char_set, &unixcp_to_ucs2, &ucs2_to_unixcp); + + unix2ucs = iconv_open(upper_unix_char_set, "UCS2"); + if(unix2ucs==(iconv_t)-1) + DEBUG(0,("Conversion from %s to UCS2 is not supporte...