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

Aperta
#4,063 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@AmalBajpayee09 ci sta già lavorando.

Dal 3/12/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
TypeScript
Stelle
246
Fork
436
Merge medio
9h 33m
PR unite (30g)
213

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Priyanshu-byte-coder/devtrack

Tutte le issue di Priyanshu-byte-coder/devtrack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.