Skip to content

fix unquotePrintable bug#20

Open
Rolaka wants to merge 1 commit into
papnkukn:masterfrom
Rolaka:master
Open

fix unquotePrintable bug#20
Rolaka wants to merge 1 commit into
papnkukn:masterfrom
Rolaka:master

Conversation

@Rolaka
Copy link
Copy Markdown

@Rolaka Rolaka commented Apr 10, 2020

Test string

测试测试测tes试测试测试

QP encoding

=E6=B5=8B=E8=AF=95=E6=B5=8B=E8=AF=95=E6=B5=8Btes=E8=AF=95=E6=B5=8B=E8=AF=
=95=E6=B5=8B=E8=AF=95

Test Code

const emlformat = require('eml-format');
let message = emlformat.unquotePrintable(
  `=E6=B5=8B=E8=AF=95=E6=B5=8B=E8=AF=95=E6=B5=8Btes=E8=AF=95=E6=B5=8B=E8=AF=
=95=E6=B5=8B=E8=AF=95`
);

console.log(message).toString('hex'))

result

测试测试测tes试测�����

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

Successfully merging this pull request may close these issues.

1 participant