-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
text encoding for external filter #59
Comments
Come to think of it, why not use |
The obvious thing would be to pass the content-type and charset through environment variables. Rather not deal with mailcap. |
indeed, that seems to be the right solution assuming mailcap is not used (which can be argued for). |
The environment variables are PART_CONTENT_TYPE and PART_CHARSET. |
Hello,
Message parts that are sent to external filters are sent without charset conversion but there seems to be no way to inform the filter of the charset it receives.
Consequence: filtering a
text/html
part in ISO-8859-1 through Pandoc makes it crash, since it only accepts UTF-8 input, and there is no way toiconv
the data first to fix this.The text was updated successfully, but these errors were encountered: