Character Sets
1 posts in topic
Flat View  Flat View

Posted By:   Serge_Sozonoff
Posted On:   Friday, January 10, 2003 01:49 PM

Hi All,

How does JAF/JavaMail decide on which character set to use for the "charset" parameter in the Content-Type heading for text/* body parts?

Does it scan the input stream to analyze the characters?

In some of my testing I have seen charset=646 used. Why doesn't it use iso-8859-1 instead?

Thanks for any help,


Re: Character Sets

Posted By:   Serge_Sozonoff  
Posted On:   Monday, January 13, 2003 06:10 AM

OK, It seems that the 646 character set is what is being returned as the systems locale (Solaris box).

To overide this for JavaMail I have set the System Property
to iso-8859-1.

This seems to work well.


About | Sitemap | Contact