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

After copying text using Adobe Acrobat Pro on the Windows platform, the clipboard content will have an extra '\0' can't solve correct #890

Open
ZGGSONG opened this issue Nov 17, 2024 · 0 comments

Comments

@ZGGSONG
Copy link

ZGGSONG commented Nov 17, 2024

Describe the bug

On Windows, when I open a PDF file with Adobe Acrobat Pro, the text I get has one more '\0' than the text I get when I open the PDF file with Chrome or FireFox. Then I use the GetText method provided by this library to get the text. The final result shows a special symbol (�)

Submit a PR that fixes the bug

Submit a Pull Request that fixes the bug.

@ZGGSONG ZGGSONG changed the title 使用Adobe Acrobat Pro复制文本后获取剪贴板内容会多出一个'\0' After copying text using Adobe Acrobat Pro on the Windows platform, the clipboard content will have an extra '\0'. Nov 17, 2024
@ZGGSONG ZGGSONG changed the title After copying text using Adobe Acrobat Pro on the Windows platform, the clipboard content will have an extra '\0'. After copying text using Adobe Acrobat Pro on the Windows platform, the clipboard content will have an extra '\0' can't solve correct Nov 17, 2024
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