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 utf-8 as iso.

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

My locale is en_US.utf8. I have in my .mime.types

application/x-gettext  po
text/x-gettext-translation  po

Commenting the first and leaving the second works better,
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, which are visible with iso..-15. I had to put

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

in .muttrc to view those right.

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?

They need to be recognized by their mimetype as po to ensure a
correct send, and also when I save it.

The thing is, I either get plain/text utf8 on recieved, same with wrong
encoding (fixed with the charset-hook), and applicattion/x-gettext,
quoted, on sending.

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to