It occured to me today that the mail subject's encoding is platform
dependent (better late than never).
The problem appeared when I deployed my app on Linux server. On
Windows I got email message with header:
Subject: =?Cp1250?Q?=AF=B9danie_ponownego_ustawienia_has=B3a?=
but on Linux it was:
Subject: =?ANSI_X3.4-1968?Q?=3F=3Fdanie_ponownego_ustawienia_has=3Fa?=
and since there were Polish letters in there, I got ?? symbols instead
of the letters.
Obviously the solution was to add -Dfile.encoding=UTF8 to the web
server startup. But I was wondering, shouldn't Lift provide some
default? Maybe with mail.mime.charset system property?
Jakub
--
Jakub
2012/3/15 Kajo Marton <kajo....@gmail.com>:
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
Jakub
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
--
Jakub
Created Issue #1242
Thanks.
--