Hi,
Here is my problem :
I'm using Birt Report Engine API in order to generate some documents, as pdf reports ... and also emails.
Indeed, i let the API handle the emails design.
The process includes a html document generation by Birt, and a second stage where Javamail (via Commons email) send the data generated in a formatted mail.
I recently switch Birt Api version : 2.1 to 2.5. And the problem came : final encoding of my mails has changed, and I got some compatibility issue with Outlook.
Here was the previous encoding :
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Here it is now :
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
I also noticed that html content generated by Birt has changed : previously , specials characters was translate to html entities. Now (with 2.5 version), no more.
Previously :
<td>
<div id="AUTOGENBOOKMARK_11" style=" direction: ltr;">N’hésitez pas à nous contacter, nous sommes à votre disposition.</div>
Now :
<td>
<div id="AUTOGENBOOKMARK_11">N’hésitez pas à nous contacter, nous sommes à votre disposition.</div>
</td>
I think JavaMail choose the encoding relatively to the content to send, content that has changed (generated by Birt).
So finally, i'd like to know if there is a way to force Birt to translate special characters in html entities.
Regards,
Cordialement,