nail.1: sending from scripts: set LC_ALL (Georg Schlisio)..
commit56fab16c645992b79519a18f413c6d7f76a80f47
authorSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Sat, 14 Jun 2014 19:35:28 +0000 (14 21:35 +0200)
committerSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Tue, 24 Jun 2014 19:12:53 +0000 (24 21:12 +0200)
treeaab6e5ba0c45dbae5b9568aba80100e50fa79594
parent09e07401cdb5bb34d2c8245a59a1d21234c4e089
nail.1: sending from scripts: set LC_ALL (Georg Schlisio)..

Georg Schlisio (g DOT schlisio AT dukun DOT de) wrote on
s-nail-users@:

  i am using s-nail as an archlinux user and i encountered a problem while
  sending a mail via script from a deamon.
  it turned out that this deamon had no locale set, so mail did not know
  about the charset to use.
  on further investigation i found your option 'ttycharset' and adding
  'set ttycharset=utf8' fixed this problem.
  i'd like to propose this as a standard setting here since i see utf8 as
  a widespread an commonly accepted encoding and thus this setting as a
  sane default.
  for tracking this, i opened a bug report on the archlinux bugtracker [0].
  thank you for considering this

  [0] https://bugs.archlinux.org/task/40823

Of course we can't do that, but one step on being more user
friendly is definetely to hint on setting up a proper locale
environment when calling S-nail from within scripts.
nail.1