Hello to everybody:

I'm still learning Mutt (this is my first installation), and I've worked
out encoding issues and the likes, particullarly when somebody sends me
a gettext po file, enabling me to *see* it with the regular pager.
Although it sometimes detects

However, now, when I try to *attach* such a file to send it to whatever
developers, I get "application/x-gettext, base-quoted", and Mutt doesn't
autoshow the contents (says it can't), unless I view it in the
attachment menu.

My locale is en_US.utf8. I have in my .mime.types
application/x-gettext  po
text/x-gettext-translation  po
as Mutt was detecting the same po format under different names, randomly
(as far as I know).

Some po files are in iso-5..-15, most in utf8. However, I need mutt to
guess correctly the encoding of the file, as I may end up sending some
garbled file to the translation lists.
When Mutt detects iso...-1 in a received, I get garbled accents in Spanish, 
therefore, I had to put

charset-hook iso-8859-1 iso-8859-15

in .muttrc.

I also have
set file_charset="utf-8:iso-8859-15:us-ascii"
set send_charset="utf-8:iso-8859-15:us-ascii" 
set assumed_charset="utf-8"     
set locale="en_US.utf8
in my .muttrc. May this force a conversion on sent attachments?

In case you don't know, a po file is plain text file with some string
headers.
However, they need to be recognized by their mimetype as po to ensure a
correct send.
I saw a mail discussing the topic, but it doesn't work for sending po's,
yet detects mimetype and encoding of received emails. (Although it
sometimes says base64.
Let me know if I can provide more information.

Thanks in advance! 
Omar

-- 

"Why stop now just when I'm hating it?" -- Marvin The Paranoid Android

Reply via email to