[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] General question - unsupported charset conversion

From: Ken Hornstein
Subject: [Nmh-workers] General question - unsupported charset conversion
Date: Fri, 28 Feb 2014 12:22:06 -0500

Greetings all,

With the greater MIME-ification of nmh (long overdue!) I've been grappling
with to do when we have issues with character set conversion.  Specifically,
I have two issues:

- What to do if the character set is unsupported.  Like if we don't have
  iconv, or we get a character set that is not supported by the current
  implementation of iconv.  Should we return the original bytes?  An error?
  Nothing?  Some string which says, "We cannot convert klingon-8842 to
  us-ascii" or the equivalent?

- What to do when we cannot convert a particular character.  This is a little
  more clear; the general trend is to use a substitution character.

Thoughs?  In particular I'm working on MIME parameters, but thoughts about
what to do in general are welcome.  Right now are approach is scattershot.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]