On Fri, 2011-04-15 at 07:45 +1000, Brad Hards wrote: > On Thursday 14 April 2011 23:55:43 Alois Schloegl wrote: > > On 04/07/11 07:47, Milan Crha wrote: > > and change also the requested values in functions mapidump_contact(). > > An it works just fine, the output is clean UTF8. > > > > Because this change is likely to break the code in other parts, I > > introduced the function GetPropsAllUnicode() and enabled it only for > > mapidump_contacts (see attached patch against current SVN). The patch > > contains also the changes to export e-mail addresses and distribution > > lists, and improves the utf16->utf8 conversion (now using iconv) for the > > e-mail addresses in the distribution lists. > Question for Milan and Alois: would you be happier if we always fetched > unicode (and gave you back UTF8)?
Fetching unicode only may break compat with older version of exchange. I've been discussing with Milan today, we had in the end 3 different options: 1. system-wide: add config parameters to the profile 2. session-wide: have a SetMapiConf() call with different options such as WantUnicodeDefault etc. 3. API change With regards to the discussion, an API change looks - as correctly stated by Milan - the change which gets closer to the general OpenChange policy: nothing hidden, it does what you ask for. I'll review #269 from Milan after he updates the latest patch and apply it to trunk. Cheers, Julien.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list devel@lists.openchange.org http://mailman.openchange.org/listinfo/devel