15,032
edits
| Line 24: | Line 24: | ||
* License: [https://github.com/py-pdf/pdfly/blob/main/LICENSE BSD 3-Clause License] {{Gd}} | * License: [https://github.com/py-pdf/pdfly/blob/main/LICENSE BSD 3-Clause License] {{Gd}} | ||
* Usage: {{kbd | key=<nowiki>pdfly extract-text PDF-file > text-file</nowiki>}} | * Usage: {{kbd | key=<nowiki>pdfly extract-text PDF-file > text-file</nowiki>}} | ||
* Known issues: On Windows systems with Chinese locales (cp950), PDF text extraction may fail with Unicode encoding errors when encountering certain special characters like '\u25aa' (BLACK SMALL SQUARE). This is a character encoding limitation of the default Windows codepage. | * Known issues: On Windows systems with Chinese locales (cp950), PDF text extraction may fail with Unicode encoding errors when encountering certain special characters like '\u25aa' (BLACK SMALL SQUARE). This is a character encoding limitation of the default Windows codepage<ref>[https://stackoverflow.com/questions/50933194/how-do-i-set-the-pythonutf8-environment-variable-to-enable-utf-8-encoding-by-def How do I set the PYTHONUTF8 environment variable to enable UTF-8 encoding by default in Python? - Stack Overflow]</ref>. | ||
* Requirement: [https://www.python.org/downloads/ Python] | * Requirement: [https://www.python.org/downloads/ Python] | ||