Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread Derek Martin
On Thu, Oct 25, 2018 at 06:14:18PM +0100, Nuno Silva wrote: > > Also, depending on exactly why you're doing this multi-locale stuff, > > an even better solution may be to let Mutt's send_charset handle it > > for you. [...] > But, if I understood the purpose of send_charset correctly, it only >

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread nunojsilva
On 2018-10-25, Derek Martin wrote: > On Thu, Oct 25, 2018 at 11:11:52AM -0500, Derek Martin wrote: >> On Thu, Oct 25, 2018 at 12:53:43PM +0100, Nuno Silva wrote: >> > When I use emacsclient, the interface locale is not broken: the terminal >> > I/O encoding is correctly set from the locale. The

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread Derek Martin
On Thu, Oct 25, 2018 at 11:11:52AM -0500, Derek Martin wrote: > On Thu, Oct 25, 2018 at 12:53:43PM +0100, Nuno Silva wrote: > > When I use emacsclient, the interface locale is not broken: the terminal > > I/O encoding is correctly set from the locale. The only difference (that > > I know of) is

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread Derek Martin
On Thu, Oct 25, 2018 at 12:53:43PM +0100, Nuno Silva wrote: > When I use emacsclient, the interface locale is not broken: the terminal > I/O encoding is correctly set from the locale. The only difference (that > I know of) is that Emacs will use utf8 to read/write files. If this > should match the

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread nunojsilva
On 2018-10-24, Derek Martin wrote: > On Tue, Oct 23, 2018 at 10:31:45PM +0100, Nuno Silva wrote: >> On 2017-10-12, nunojsi...@ist.utl.pt wrote: >> >> > Recently, I have tried to use mutt on a non-utf8 terminal. Everything >> > works as expected in an utf8 environment, but when I compose new

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread nunojsilva
On 2018-10-24, Ian Zimmerman wrote: > On 2018-10-23 22:31, Nuno Silva wrote: > >> So far I did not find a way to change this on the mutt side, but I made >> a new major mode for mutt messages in Emacs (the editor I use with >> mutt), with a hook that changes the file encoding to latin1 if the

Re: Composing in utf8 from latin1 terminal

2018-10-24 Thread Derek Martin
On Tue, Oct 23, 2018 at 10:31:45PM +0100, Nuno Silva wrote: > On 2017-10-12, nunojsi...@ist.utl.pt wrote: > > > Recently, I have tried to use mutt on a non-utf8 terminal. Everything > > works as expected in an utf8 environment, but when I compose new e-mails > > in a latin1/ISO-8859-1 terminal,

Re: Composing in utf8 from latin1 terminal

2018-10-24 Thread Ian Zimmerman
On 2018-10-23 22:31, Nuno Silva wrote: > So far I did not find a way to change this on the mutt side, but I made > a new major mode for mutt messages in Emacs (the editor I use with > mutt), with a hook that changes the file encoding to latin1 if the file > was opened in a latin1 terminal and

Re: Composing in utf8 from latin1 terminal

2018-10-23 Thread nunojsilva
On 2017-10-12, nunojsi...@ist.utl.pt wrote: > Recently, I have tried to use mutt on a non-utf8 terminal. Everything > works as expected in an utf8 environment, but when I compose new e-mails > in a latin1/ISO-8859-1 terminal, mutt will expect the file to be in the > same encoding as the