nmh-workers
[Top] [All Lists]

[Nmh-workers] General question - unsupported charset conversion

2014-02-28 11:22:24
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.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>