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

Charset decode on metadata #79

Closed
wants to merge 1 commit into from
Closed

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented Jul 29, 2024

Closes #78

I am testing the signature -> set_metadata_props feature , but it's not show correctly.
My signing reason is "ทดสอบ"

image
image

To ensure that Thai characters are displayed correctly in the metadata (such as the "Reason" field) of a PDF file, you must ensure that the correct encoding (UTF-16BE for Unicode) is used when setting the values ​​of these fields.

The \xFE\xFF prefix is ​​added to UTF-16BE strings to indicate that they are in this encoding.

@erikn69 erikn69 mentioned this pull request Jul 29, 2024
@erikn69 erikn69 force-pushed the patch-11 branch 3 times, most recently from 489b4ed to 2524550 Compare July 30, 2024 15:05
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

Successfully merging this pull request may close these issues.

UTF-8 Support
1 participant