* [ISSUE] mshow: unknown charset of extracted attachments
@ 2023-08-18 19:17 ashiire
2023-08-21 15:47 ` leahneukirchen
0 siblings, 1 reply; 2+ messages in thread
From: ashiire @ 2023-08-18 19:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 923 bytes --]
New issue by ashiire on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/248
Description:
When extracting attachments via `mshow`'s `-x` or `-O` flags, any present charset information is lost. This is troublesome, as charset information is difficult to infer from file contents alone.
`mshow` does explicitly mention attachment charset in render mode if a filter is used to render the attachment, like so:
`--- --- --- 3: text/plain size=235 charset="iso-8859-2" render="mshow-plaintext" ---`
However, this seems like the wrong (and inconvenient) place to recover the information from.
I have a two ideas that might help:
* (Add an option to) explicitly state charset information in list mode, if available.
* Add an option to automatically re-encode extracted attachments to UTF-8, same as in render mode.
I think that either one would be sufficient on its own, but both may be desirable.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mshow: unknown charset of extracted attachments
2023-08-18 19:17 [ISSUE] mshow: unknown charset of extracted attachments ashiire
@ 2023-08-21 15:47 ` leahneukirchen
0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2023-08-21 15:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
New comment by leahneukirchen on mblaze repository
https://github.com/leahneukirchen/mblaze/issues/248#issuecomment-1686581138
Comment:
I guess the second part wouldn't be too hard to add, as all the steps are implemented already.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-21 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-18 19:17 [ISSUE] mshow: unknown charset of extracted attachments ashiire
2023-08-21 15:47 ` leahneukirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).