On 2024-10-08 08:26, Michael Kjörling wrote:
> On 8 Oct 2024 08:55 +0200, from mutt-users@mutt.org (Jan Eden via Mutt-users):
> > I need to use mutt within the WSL of MS Windows. To display HTML
> > mails via mailcap, I created a small script which reads from STDIN,
> > writes a temporary file and
On 2024-10-08 09:38, José María Mateos wrote:
> On Tue, Oct 8, 2024, at 08:55, Jan Eden via Mutt-users wrote:
> > with open('/var/tmp/htmlfile', 'w', encoding='iso-8859-1') as tmp_file:
> > ...
> >
> > but this only changed the error message to:
> >
> > 'latin-1' can't encode character '...' i
On 8 Oct 2024 08:55 +0200, from mutt-users@mutt.org (Jan Eden via Mutt-users):
> I need to use mutt within the WSL of MS Windows. To display HTML
> mails via mailcap, I created a small script which reads from STDIN,
> writes a temporary file and opens it with the Edge browser:
>
> # ~/.mutt/mailca
On Tue, Oct 8, 2024, at 08:55, Jan Eden via Mutt-users wrote:
> with open('/var/tmp/htmlfile', 'w', encoding='iso-8859-1') as tmp_file:
> ...
>
> but this only changed the error message to:
>
> 'latin-1' can't encode character '...' in position ...: ordinal not in
> range(256)
You can tell o
Good morning,
I need to use mutt within the WSL of MS Windows. To display HTML
mails via mailcap, I created a small script which reads from STDIN,
writes a temporary file and opens it with the Edge browser:
# ~/.mutt/mailcap
text/html; ~/.mutt/htmlviewer html
# ~/.mutt/htmlviewer
with open('/var