Posted By:
Kahro_Raie
Posted On:
Monday, October 1, 2001 05:22 AM
The problem concerns the javamail class
javax.mail.internet.InternetAddress
and the method
String getPersonal()
When there is a leter 'Ü' in an email aadress, but the mail client has not encoded it. Then method getPersonal() returns a non valid unicode string. The API sais that when the decoding or convertion fails it returns the raw data.
My question is: In case of this error, the method doesn't seem to return the raw data, so how can I extract it from the wrongly converted string?
Or is there any way of knowing when this kind of error has occured, so I coult use the raw data directly?