[Date Prev][Date Next]
(ITS#5478) Can not compile ldap_t61s_to_utf8s function from LDAP library
Full_Name: Emmanuel Duru
Submission from: (NULL) (126.96.36.199)
Using OpenLDAP LDAP library to perform conversions between X.500 directory data
and LDAP directory data, I need to convert values from T.61 to UTF-8.
I see that there is a t61.c file in LDAP library with a ldap_t61s_to_utf8s()
function to perform this.
The problem is that t61.c does not compile because it refers to
ldap_x_wc_to_utf8() and ldap_x_utf8_to_wc() which are defined in utf-8-conv.c
file only in case sizeof(wchar_t) >= 4, which is not the case with windows where
sizeof(wchar_t) = 2.