a...@emailaya.com wrote: > 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.
Yes, precisely. Identifying the conversion, you need to take a close look into Delphi's "inbuilt" (provided) packages. It needs to be taken into account of what the assignment functions within the packages do, why, how, and what (if anything) can be done to prevent it from happening in case you don't want to. I personally don't have D2009 yet (haven't really seen the need, as my D2007 has been more than enough for me thus far) so this discussion is a bit out of my league - the only reason I've been looking into this is the simple fact that eventually I will be stepping up to D2009 (or what ever happens to be the highest version at the time). Anyway... ...if the Borland's (Codegear or whatnot it's called these days) developers have been "wise", they've provided a way to set a system that allows the developers to bypass these unwanted character set transformations. But how they've achieved that... well, it might be a simple matter of RTFM, or it might really be required to dive into the pool of bare code and see what goes on in there. To end this "rant", I must say that I very much hate it when version updates to development environments require developers to rethink their entire way of working. It just sucks :p -- Markku Uttula ------------------------------------------------------------------------------ _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public