[BUG] Résumé PDF export drops accents from names with combining marks

Open
#4,063 3 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@AmalBajpayee09 is already working on this.

Since Dec 3, 2026.

Assessment

This issue has not been assessed yet.

Description

bug needs-triage status:assigned
What happened?

Two inputs that both display as “José Muñoz” produce different results when DevTrack prepares the name for PDF export.

I reproduced this with toPdfSafeText in src/lib/cv/cv-export.ts:

toPdfSafeText("José Muñoz")             // "José Muñoz"
toPdfSafeText("Jose\u0301 Mun\u0303oz") // "Jose Munoz"

Both inputs should preserve the spelling “José Muñoz”. I’d like to normalize the text to NFC before filtering unsupported characters and add a regression test for this case.

Steps to reproduce
  1. From the repository root, start Node.js 24 with node --input-type=module.
  2. Run const { toPdfSafeText } = await import("./src/lib/cv/cv-export.ts").
  3. Run toPdfSafeText("José Muñoz"). It returns "José Muñoz".
  4. Run toPdfSafeText("José Muñoz".normalize("NFD")). It returns "Jose Munoz". The expected result is "José Muñoz" in both cases.
Where is it?

AI features (insights, personality, project tutor, career)

Where did you see it?

Local development

Browser and device

No response

Screenshots, console errors or logs

No response

Want to fix it?
  • I'd like to work on this. A maintainer will assign you; please don't start before that.
Dominant language
TypeScript
Stars
246
Forks
436
Avg merge
9h 33m
Merged PRs (30d)
213

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Priyanshu-byte-coder/devtrack

All issues in Priyanshu-byte-coder/devtrack

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.