Re: Attachements with iso-8859-15



On 2005.01.26 10:39, Jean-Luc Coulon (f5ibh) wrote:
Hi Peter,

Le 26.01.2005 15:45:22, Peter Bloomfield a écrit :
Ouch--that patch had some stray stuff--here's the one I wanted to send!

Peter

No, it doesnt work.

If the attachement is utf-8, it is fine
if the attachementis iso-8859-1 (or -15) it says that the message is not US-ASCII nor UTF-8 and ask for the encoding.

Oh, right...I didn't read your mail carefully enough! That patch handles only text in the message body--quoted, included, or whatever.

I assume you're attaching a file that contains an email message, not attaching a message from a Balsa mailbox, is that correct? Balsa uses gnome_vfs_get_file_info to find out what's in a file, and tries to find a charset only if it's text/*, so apparently gnome_vfs_get_file_info is saying it's text/* instead of message/ *. Perhaps we should replace GNOME_VFS_FILE_INFO_GET_MIME_TYPE with GNOME_VFS_FILE_INFO_FORCE_SLOW_MIME_TYPE--could you try that?

Best,

Peter




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