Re: charset in text/plain attachments: how to tune?
On Fri, 28 Dec 2001 17:55:55 +0100, Michael Tatge [EMAIL PROTECTED] wrote: boris karlov muttered: On Fri, Dec 28, 2001 at 03:56:56PM +0100, Michael Tatge wrote: Well, is a charset too, isn't it? i've tried this already. but, unfortunately, it does not work: :charset-hook koi8-r\n empty (sub)expression Strange canAt reproduce this with 1.2.5: $ ./mutt -v Mutt 1.2.5i (2000-07-28) mutt -F /dev/null :charset-hook koi8-r no error message. -- i permanently get such an error with FreeBSD 3 and 4 (both STABLE). forget-about, i've found suitable regexp ;-) 10x, karlov.
Re: charset in text/plain attachments: how to tune?
On Fri, Dec 28, 2001 at 03:37:11PM +0300, boris karlov wrote: mutt-1.2.5i i have charset=koi8-r in .muttrc, but mutt always assumes that my text/plain attachments are in us-ascii charset if there is no certain charset record in `Content-Type:' field. so i need to edit-type or manually recode affected attachments :-(. mutt-1.0i works more suitable ;-) using charset from user locale (or may be $MM_CHARSET) while display attachments _without_ charset specified in `Content-Type:' field. do you know how to avoid such a behaviour of 1.2.5? 10x in advance, ~borman Upgrade to mutt 1.3.x, I couldn't get 1.2.x to support Cyrillic either. -- Oleg Kourapov | Linux user #245698 http://counter.li.org Moscow, RU| LFS user #1212 http://www.linuxfromscratch.org -- Yesterday is a memory. Tomorrow is the unknown. Now is the knowing. -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GTW d- s+: a-- C UL++ P+ L+++ E--- W+++ N++ o-- K++ w-- O M- V- PS+ PE+++ Y+ PGP++ t 5++ X++ R tv- b+++ DI+ D G e* h! r y? --END GEEK CODE BLOCK-- msg22014/pgp0.pgp Description: PGP signature
charset in text/plain attachments: how to tune?
mutt-1.2.5i i have charset=koi8-r in .muttrc, but mutt always assumes that my text/plain attachments are in us-ascii charset if there is no certain charset record in `Content-Type:' field. so i need to edit-type or manually recode affected attachments :-(. mutt-1.0i works more suitable ;-) using charset from user locale (or may be $MM_CHARSET) while display attachments _without_ charset specified in `Content-Type:' field. do you know how to avoid such a behaviour of 1.2.5? 10x in advance, ~borman
Re: charset in text/plain attachments: how to tune?
boris karlov muttered: i have charset=koi8-r but mutt always assumes that my text/plain attachments are in us-ascii charset if there is no certain charset record in `Content-Type:' field. do you know how to avoid such a behaviour of 1.2.5? Look for charset-hook in the manual. HTH, Michael -- Are [Linux users] lemmings collectively jumping off of the cliff of reliable, well-engineered commercial software? (By Matt Welsh) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: charset in text/plain attachments: how to tune?
On Fri, Dec 28, 2001 at 03:04:41PM +0100, Michael Tatge wrote: boris karlov muttered: i have charset=koi8-r but mutt always assumes that my text/plain attachments are in us-ascii charset if there is no certain charset record in `Content-Type:' field. do you know how to avoid such a behaviour of 1.2.5? Look for charset-hook in the manual. -- in muttrc(5) i've seen: charset-hook alias charset This command defines an alias for a character set. This is useful to properly display messages which are tagged with a character set name not known to mutt. ...messages which _are_tagged_ with a character set name not to mutt... but i mean attachments with Content-Type: text/plain, there is no charset part _at_all_. 10x in advance, ~borman
Re: charset in text/plain attachments: how to tune?
boris karlov muttered: On Fri, Dec 28, 2001 at 03:04:41PM +0100, Michael Tatge wrote: boris karlov muttered: i have charset=koi8-r but mutt always assumes that my text/plain attachments are in us-ascii charset if there is no certain charset record in `Content-Type:' field. do you know how to avoid such a behaviour of 1.2.5? Look for charset-hook in the manual. charset-hook alias charset This command defines an alias for a character set. This is useful to properly display messages which are tagged with a character set name not known to mutt. ...messages which _are_tagged_ with a character set name not to mutt... but i mean attachments with Content-Type: text/plain, there is no charset part _at_all_. Well, is a charset too, isn't it? charset kio8-r or the matching ISO-whatever does what you want. I use charset-hook iso-8859-1 for the very same reason. Mutt assumes us-ascii, if nothing is specified - according to the relevant RFCs, I presume. I often get mail with German umlauts from people with broken mailers and the above helps me reading those messages a lot. :) HTH, Michael -- Avoid the Gates of Hell. Use Linux (Unknown source) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: charset in text/plain attachments: how to tune?
On Fri, Dec 28, 2001 at 03:56:56PM +0100, Michael Tatge wrote: boris karlov muttered: On Fri, Dec 28, 2001 at 03:04:41PM +0100, Michael Tatge wrote: boris karlov muttered: i have charset=koi8-r but mutt always assumes that my text/plain attachments are in us-ascii charset if there is no certain charset record in `Content-Type:' field. do you know how to avoid such a behaviour of 1.2.5? Look for charset-hook in the manual. charset-hook alias charset This command defines an alias for a character set. This is useful to properly display messages which are tagged with a character set name not known to mutt. ...messages which _are_tagged_ with a character set name not to mutt... but i mean attachments with Content-Type: text/plain, there is no charset part _at_all_. Well, is a charset too, isn't it? -- i've tried this already. but, unfortunately, it does not work: :charset-hook koi8-r\n empty (sub)expression gonna try `charset-hook another_regexp koi8-r' (e.g. `charset-hook .* koi8-r' ;-)) Michael, 10x. charset kio8-r or the matching ISO-whatever does what you want. I use charset-hook iso-8859-1 for the very same reason. Mutt assumes us-ascii, if nothing is specified - according to the relevant RFCs, I presume. I often get mail with German umlauts from people with broken mailers and the above helps me reading those messages a lot. :)
Re: charset in text/plain attachments: how to tune?
boris karlov muttered: On Fri, Dec 28, 2001 at 03:56:56PM +0100, Michael Tatge wrote: Well, is a charset too, isn't it? i've tried this already. but, unfortunately, it does not work: :charset-hook koi8-r\n empty (sub)expression Strange canÄt reproduce this with 1.2.5: $ ./mutt -v Mutt 1.2.5i (2000-07-28) mutt -F /dev/null :charset-hook koi8-r no error message. Since I do not have a kyrillic charset installed I get ? as expected. Michael -- All language designers are arrogant. Goes with the territory... (By Larry Wall) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key