the thing is we are not talking only about functions but also about regular assignments. theoretically i should have been able to assign the content of the email into a UTF8String and add it as a subpart but as i understood, UTF8 of D2009 is not UTF8 of synapse. trying the same idea as in D2007: representing the utf8string in an ansistring variable is not that easy because D2009 make some conversions of its own, conversions that u dont need.
Original Message: ----------------- From: Markku Uttula markku.utt...@disconova.com Date: Mon, 09 Mar 2009 14:44:00 +0200 To: synalist-public@lists.sourceforge.net Subject: Re: [Synalist] warnings in lots of synapse units - D2009 a...@emailaya.com wrote: > my problems with synapse and D2009 are only when unicode is involved, > otherwise it's working ok From what I've gathered (based on messages in here as well as a few other sources) is that D2009 attempts to be a bit more "clever" than the earlier versions of Delphi (which usually lead to strange symptoms like the one you're experiencing). There are some functions (can't give you a list, sorry) that cause an "implied character set conversion" for the data - whether you wanted it or not. This means that even though Synapse might work as it is supposed to, because the data has internally changed, you get the wrong ("wrong" as in "not the one you're expecting") results. The reason for this is that Synapse expects the data to be in one character set encoding, while it actually is in something completely different. The only solution for this is to avoid the functions that do the implicit conversion (and as there is no list, it is a pretty hard thing to do). Unfortunately it's pretty lot a matter of trial and error. I'm sorry that I can't be of any more help on this matter :( -- Markku Uttula ---------------------------------------------------------------------------- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public -------------------------------------------------------------------- mail2web.com What can On Demand Business Solutions do for you? http://link.mail2web.com/Business/SharePoint ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public