Re: How not to encode the To: field?
On Wed, Jul 03, 2019 at 05:37:31PM -0500, Peng Yu wrote: OK. I see the problem. Gmail encode it as =?UTF-8..., but mutt encode it as =?utf-8... Should it be in upper cases instead of lower cases? No. Per the rfc section 2, the charset names are case-independent. Is there a way to let mutt encode using "UTF-8"? Thanks. No, mutt runs through a canonicalizer which lower cases in the process. Any client that is confused by this needs to be fixed. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: How not to encode the To: field?
OK. I see the problem. Gmail encode it as =?UTF-8..., but mutt encode it as =?utf-8... Should it be in upper cases instead of lower cases? Is there a way to let mutt encode using "UTF-8"? Thanks. https://github.com/golang/go/issues/19430 On 7/3/19, Kevin J. McCarthy wrote: > On Wed, Jul 03, 2019 at 03:01:40PM -0500, Peng Yu wrote: >>In this email that I am sending, the "To:" field of the original >>message should have "François" as is. Do you know why? > > To: =?UTF-8?B?RnJhbsOnb2lz?= > > Looks to me like Gmail correctly encoded the name. Am I > misunderstanding your question? > > -- > Kevin J. McCarthy > GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA > -- Regards, Peng
Re: How not to encode the To: field?
On Wed, Jul 03, 2019 at 03:01:40PM -0500, Peng Yu wrote: In this email that I am sending, the "To:" field of the original message should have "François" as is. Do you know why? To: =?UTF-8?B?RnJhbsOnb2lz?= Looks to me like Gmail correctly encoded the name. Am I misunderstanding your question? -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: How not to encode the To: field?
In this email that I am sending, the "To:" field of the original message should have "François" as is. Do you know why? On 7/3/19, Kevin J. McCarthy wrote: > On Wed, Jul 03, 2019 at 01:27:02PM -0500, Peng Yu wrote: >>"François" in the "To:" filed will be encoded as >>"=?utf-8?B?RnJhbsOnb2lz?=". Is there a way to just use "François" >>without being encoded in the "To:" field? Thanks. > > The rfc2047 encoding is required for non-ascii characters in certain > parts of the message header. There is no config variable to disable > (only) it. > > That said, unsetting $charset will turn off the encoding process. > However, it will also break many many other things in mutt. > > -- > Kevin J. McCarthy > GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA > -- Regards, Peng
Re: How not to encode the To: field?
On Wed, Jul 03, 2019 at 01:27:02PM -0500, Peng Yu wrote: "François" in the "To:" filed will be encoded as "=?utf-8?B?RnJhbsOnb2lz?=". Is there a way to just use "François" without being encoded in the "To:" field? Thanks. The rfc2047 encoding is required for non-ascii characters in certain parts of the message header. There is no config variable to disable (only) it. That said, unsetting $charset will turn off the encoding process. However, it will also break many many other things in mutt. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: Confirm on new mailbox creation
Thank you! On Wed, Jul 03, 2019 at 12:05:20PM -0700, Kevin J. McCarthy wrote: > On Wed, Jul 03, 2019 at 01:52:17PM -0500, Hokan wrote: > >How can I suppress the mailbox creation prompt? > > Try 'unset confirmcreate' -- Hokan Bicyclist Sysadmin
Re: Confirm on new mailbox creation
On Wed, Jul 03, 2019 at 01:52:17PM -0500, Hokan wrote: How can I suppress the mailbox creation prompt? Try 'unset confirmcreate' -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Confirm on new mailbox creation
Hello Mutt users, I'm getting a mailbox creation prompt that I don't want. I have a couple of muttrc lines that help me auto-organize my sent and deleted mail: set record="+sent-mutt/`date +%Y/%Y-%m`-sent-mail" set trash="+deleted-mutt/`date +%Y/%Y-%m`-deleted-mail" These store my sent or deleted mail in time-stamped mailboxes based on month and year. When a new month comes and Mutt wants to save a message in a new mailbox I get a prompt asking me to confirm I want the mailbox created, like this: Create sent-mutt/2019/2019-07-sent-mail? ([yes]/no): How can I suppress the mailbox creation prompt? -- Hokan Bicyclist Sysadmin signature.asc Description: PGP signature
How not to encode the To: field?
Hi, I have the following line in the mutt config file. set send_charset="us-ascii:utf-8" "François" in the "To:" filed will be encoded as "=?utf-8?B?RnJhbsOnb2lz?=". Is there a way to just use "François" without being encoded in the "To:" field? Thanks. -- Regards, Peng