Skip to content

fix: handle charset decoding for MSG and EML#86

Merged
Rasalas merged 1 commit intomainfrom
feat/charset-fixes
May 1, 2026
Merged

fix: handle charset decoding for MSG and EML#86
Rasalas merged 1 commit intomainfrom
feat/charset-fixes

Conversation

@Rasalas
Copy link
Copy Markdown
Owner

@Rasalas Rasalas commented May 1, 2026

Summary

  • add centralized charset/base64/quoted-printable decoding helpers
  • decode MSG/EML text, MIME headers, RFC2231 filenames, text attachments, and nested EMLs through byte-safe paths
  • add regression coverage for German Windows-1252 text, UTF-8 fallback behavior, quoted-printable HTML, and attachment filenames

Verification

  • npm test
  • npm run lint
  • npm run build

Note: repo-wide npm run format:check still reports pre-existing unformatted files outside this change; touched files pass Prettier after fixing the invalid .prettierrc option.

@Rasalas Rasalas merged commit 6d7f4e2 into main May 1, 2026
3 checks passed
@Rasalas Rasalas deleted the feat/charset-fixes branch May 1, 2026 05:24
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