Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Encoding Issue When Copying from PDF to Word #2858

Open
RonaldDBezerra opened this issue Sep 2, 2024 · 0 comments
Open

Text Encoding Issue When Copying from PDF to Word #2858

RonaldDBezerra opened this issue Sep 2, 2024 · 0 comments

Comments

@RonaldDBezerra
Copy link

Describe the bug: When generating a PDF, copying any information from the PDF to a Word document results in incorrect text encoding. Some words or entire phrases are replaced with symbols or letters that do not make sense.

To Reproduce: Steps to reproduce the behavior:

Generate a PDF using the current setup.
Open the PDF and select a portion of the text.
Copy the selected text (Ctrl + C).
Paste the text into a Word document (Ctrl + V).
Observe that some words or phrases are replaced with symbols or incorrect characters.
You can make use of react-pdf REPL to share the snippet.

Expected behavior: The text should be copied and pasted without any changes or encoding issues.

Screenshots: If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g., MacOS, Windows]
Browser: [e.g., Chrome, Safari]
React-pdf version: [e.g., v1.1.0]

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

No branches or pull requests

1 participant