Here's what I'm working on now as far as making TMDA's templates
properly handle non-ASCII text.  Comments appreciated.

The existing templates will stay basically the same, with the addition
of a `Charset:' header at the top of each template.  e.g,

  From: "%(FULLNAME)s" <%(recipient_address)s>
  Subject: Please confirm your message
  Charset: US-ASCII

  [...]   

If users wish to use a character set other than US-ASCII in their
templates, they just have to change `Charset:', and then their
templates can contain a mix of ASCII and non-ASCII text.  TMDA will
properly encode the message based on the specified charset producing
an RFC-compliant auto-response.  For example:

  From: "%(FULLNAME)s" <%(recipient_address)s>
  Subject: Please confirm your message / Bitte Nachricht bestaetigen
  Charset: ISO-8859-1
  
  [...]

Does this sound like it will be a relatively easy way to
multilingualize your TMDA templates?

I hope most multilingual users will be aware of what charset to use,
but I can also document this for the more popular languages.  Some
languages (e.g, Japanese, Korean) require an additional setup step, so
I'll have to do this anyway.
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to