diegomura / react-pdf

📄 Create PDF files using React

Home Page:https://react-pdf.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When entering Korean text, encoding appears broken

SeoBoSeok opened this issue · comments

Describe the bug
Korean text does not display correctly in PDF files (Unicode not applied).

To Reproduce
Steps to reproduce the behavior including code snippet (if applies):

  1. Go to LINK
  2. See error

Expected behavior
동해물과 백두산이 마르고 닳도록 하느님이 보우하사 우리나라 만세.(후렴) 무궁화 삼천리 화려강산 대한 사람 대한으로 길이 보전하세.

Screenshots
If applicable, add screenshots to help explain your problem.
스크린샷 2024-04-03 오후 9 05 25

Desktop (please complete the following information):

  • OS: [MacOS]
  • Browser [chrome]
  • React-pdf version [v3.4.2]