Skip to content
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

Support ASCII character encoding aliases ANSI_X3.4-1968 and ANSI_X3.4-1986 #99

Closed
clintharris opened this issue Sep 16, 2014 · 0 comments

Comments

@clintharris
Copy link

Mailparser isn't correctly handling this charset charset=ANSI_X3.4-1968 or ANSI_X3.4-1986 in MailParser.prototype._parseContentType(). These are just aliases for ASCII so it can use utf-8 encoding for these charsets.

Instead, it passes ansi_X3.4-1968 to the encoding module (which in turn passes it to the iconv-lite module), ultimately resulting in the following error:

[Error: Encoding not recognized: 'ANSI_X3.4-1968' (searched as: 'ansix341968')]
clintharris pushed a commit to clintharris/mailparser that referenced this issue Sep 16, 2014
andris9 added a commit that referenced this issue Sep 17, 2014
Addresses issue #99: Support ASCII character encoding aliases ANSI_X3.4-...
@andris9 andris9 closed this as completed Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants