Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sending a ISO-8859-1 encoded mail

843830Oct 30 2006 — edited Oct 30 2006
I need to send a e-mail via my webapp to some clients that need to recieve it in spanish (use accents like ���� and �)

I already changed the encoding from unicode to ISO-8859-1 as mentioned in

http://javaalmanac.com/egs/java.nio.charset/ConvertChar.html

and I already added the following headers :
msg.setHeader("Content-type","text/plain; charset=ISO-8859-1; format=flowed");
I keep recieving the following e-mail


Apreciado accionista:

Buscando generar mayor compromiso entre nuestros accionistas especialistas, ponemos� a disposici��n de todo el grupo un correo personalizado que les permitir��
recibir informaci��n externa de la empresa o en procesos de referencia con sus colegas.
Esperamos que sea una herramienta ��til y que saquen de ella el mayor provecho posible.



I'm completely lost, plz help.
Daniel
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2006
Added on Oct 30 2006
1 comment
192 views