You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by hideki tihiri <hi...@gmail.com> on 2009/06/12 17:06:06 UTC
sendmail logicsheet: How to send UTF-8 text ?
Hi,
I'm successfully using the sendmail logicsheet to generate emails.
I have 1 problem;
I need to send text in UTF-8.
I have following code (snippet):
String bodytxttmp = ...read content from UTF-8 file
<sendmail:body><xsp:expr>bodytxttmp</xsp:expr></sendmail:body>
The text shows up with some '?' instead of the norma characters, which seems
to indicate the text is send as ASCII .
How can I tell cocoon the text needs to be send a utf-8 ?
H.