Menu

#7 UTF-8 enable patch

closed-later
None
5
2004-01-16
2003-10-20
No

Currently no other than us/ascii mails can be sent.
Below is a small HOWTO of how to change the compose
section to use UTF-8 instead of us/ascii

JwmaComposeMessage.java (only file that needs to be
changed)

setSubject:
change
"m_Message.setSubject(MimeUtility.encodeText(subject));"
-> m_Message.setSubject(subject, "UTF-8");

change all instances of "bodypars.setText(getBod())"
-> bodypart.setText(getBody(), "UTF-8");

cheers,
mikkom

Discussion

  • Dieter Wimberger

    • assigned_to: nobody --> wimpi
    • status: open --> closed-later
     
  • Dieter Wimberger

    Logged In: YES
    user_id=36782

    Mikkom,

    Thanks for the submission. I will check that i18n works out better
    for the upcoming release which will most likely be based on
    Struts.
    In fact, there are more places where things with encoding could go
    wrong.

    Regards,
    Dieter

     

Log in to post a comment.