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

Đang mở
#4,063 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@AmalBajpayee09 đang làm issue này rồi.

Từ ngày 3/12/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
246
Fork
436
Merge trung bình
9 giờ 33 phút
Pull request đã merge (30 ngày)
213

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Priyanshu-byte-coder/devtrack

Tất cả issue của Priyanshu-byte-coder/devtrack

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.