Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] System encoding versus messages encoding
@ 2008-04-21 20:37 Israel Herraiz
  2008-04-22 11:39 ` Shot (Piotr Szotkowski)
  2008-04-22 23:18 ` William Morgan
  0 siblings, 2 replies; 11+ messages in thread
From: Israel Herraiz @ 2008-04-21 20:37 UTC (permalink / raw)


Hi there,

I have been using Sup for a couple of days, and I have found some
problems with the encoding of messages written in ISO-8859-1(5).

The encoding in my system is en_US.UTF-8, but most of the email that I
receive is in Spanish, and usually encoded with ISO-8859-1 (and
sometimes with ISO-8859-15).

When I start Sup, it detects my UTF-8 and tries to decode the messages
with that encoding, that results in hardly readable messages  (most of
the sentences where wide characters appear are truncated).

If I start it with "LANG=en_US.ISO-8859-1 sup" it now detects the new
encoding, and the messages are more readable, but I can not see the
right characters because my terminal enconding is UTF-8 (but at least
the sentences are not truncated).

With Mutt (and other email clients), I still use UTF-8 as my system
encoding, and I see ISO-8859-1 messages correctly. The encoding of the
messages is of course included in the headers.

As far as I know (considering what I have read in the documentation
and in the archives of this mailing list), Sup determines the encoding
using the environment variables and tries to decode all the messages
using that encoding. For people working in different languages and
environments (like me, I write in English and Spanish, some people
send me messages in UTF-8, some other in ISO-88159-1), having an
overall encoding for all the messages is not a good solution.

Would it possible to decode each message according to its headers?

Please correct me if I am wrong in any of my assumptions on how Sup
encodes/decodes messages.

By the way, I am using the Git version of Sup (as of today :-).

Cheers,
Israel


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [sup-talk] [PATCH] fixed dlopen of libc for os x
@ 2008-04-27  6:48 William Morgan
  2008-04-27  8:45 ` Christopher Warrington
  0 siblings, 1 reply; 11+ messages in thread
From: William Morgan @ 2008-04-27  6:48 UTC (permalink / raw)


Reformatted excerpts from Grant Hollingworth's message of 2008-04-24:
> OS X likes to do its own thing.

Merged into next. Thanks!

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-04-27  8:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-21 20:37 [sup-talk] System encoding versus messages encoding Israel Herraiz
2008-04-22 11:39 ` Shot (Piotr Szotkowski)
2008-04-22 23:18 ` William Morgan
2008-04-23  0:09   ` Israel Herraiz
2008-04-23  2:03     ` William Morgan
2008-04-23  1:08   ` Israel Herraiz
2008-04-23  1:53     ` William Morgan
2008-04-24 19:36     ` Marc Hartstein
2008-04-24 23:10   ` [sup-talk] [PATCH] fixed dlopen of libc for os x Grant Hollingworth
2008-04-27  6:48 William Morgan
2008-04-27  8:45 ` Christopher Warrington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox