On Tue, 2011-04-12 at 18:23 +0200, Alois Schloegl wrote:
> The attached patch is an extension to the earlier patch from
> http://mailman.openchange.org/pipermail/devel/2011-March/005356.html
> 
> It includes the export of the e-mail addresses in the distribution 
> lists. It can be tested with this command:
> 
> bin/openchangeclient --pf --fetch-items=Contact --folder <FOLDERNAME>
> 
> I looked also at the issue of character encoding, because the e-mail 
> addresses of distribution lists are available only in UTF16.
> So far I'm using only a poor man converter, which should be fine as far 
> as e-mail addresses use ASCII codes only.
> 
> The conversion from PT_STRING8 to UTF8 is also still open. Which 
> conversion function are you typically using ?
> *_to_utf8 functions are provided by a number of libraries:
> 
>    glib
>    ldap
>    GNU Libidn/stringprep
>    raptor
>    rdf_utf8
>    ldap_utf8.h
>    mono-1.0/mono/metadata/object.h:mono_string_to_utf8
> 
> Which libraries should be used preferably within openchange ?
What about iconv? It's widely available and already required by Samba 4.

Cheers,

Jelmer
_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to