Amos wrote: > it seems that synapse tries to convert it from iso_8859_7 (greek) to > cp1255 (my locale) > > it should be converting TO iso_8859_7, though i dont know from which > encoding....
As I said, a message that already is in ISO-8859-7 that you want to read as ISO-8859-7 should not be converted at all. As your charset is CP1255 (Hebrew), translation from ISO-8859-7 (Greek) will fail since your charset does not have the characters required (even though it'd appear to have if you followed what Windows is telling you; nevermind that, Microsoft likes to redefine things in a way that suits them:) Anyway... What I would attempt, is to try and set the TargetCharset before calling DecodePart. If this failed, I'd attempt to find a reason why... meaning I would follow the flow of things ever since I set the value until the value gets used. However, since I'm not facing this problem at this moment, I'm not about to do this. But I suggest you do if things fail. Bottom line; you need remember that CP1255 really doesn't have the characters needed to display ISO-8859-7 encoded messages. So you need to set TargetCharset to something that has; either ISO-8859-7 or some nice multibyte charset like UTF-whatever. On a highly personal opinion, I think any charset whose canonical name does not begin with "UTF" should be considered obsolete these days. -- Markku Uttula ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
