Is there a known problem with ns_sendmail and UTF-8 encoded strings?
I'm running OpenACS 3.x, and my .tcl page successfully received UTF-8
that a user submitted into an HTML form.
The problems begin when I try to send that UTF-8 data in e-mail using
ns_sendmail. I use a Content-type of "text/plain; charset=utf-8".
Unfortunatly, the letters get largely scrambled in transit, and when
they arrive on the other side, they're no longer in legal UTF-8.
I was convinced that the problem had to do with the HTML forms, but
that's clearly no longer the case. Should I be encoding e-mail as
UTF-7 to avoid such problems in e-mail? I'm using qmail as my
underlying MTA, and I thought that I could use UTF-8 without any
trouble -- but perhaps I'm wrong. And this happens even when I send
to another user on the same host, so we're not dealing with any other
networks or MTAs.
It's possible that I need to tickle another configuration parameter
in nsd.tcl and/or my invocation of ns_sendmail. But where?
Any ideas and insights will be welcomed!