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

CLI error with German Umlaut #1467

Open
jh0563 opened this issue Jul 23, 2024 · 1 comment
Open

CLI error with German Umlaut #1467

jh0563 opened this issue Jul 23, 2024 · 1 comment

Comments

@jh0563
Copy link

jh0563 commented Jul 23, 2024

Running veraPDF CLI with a sourcefilename including "German Umlaut" results in an error. (Windows11 , VerPDF-Version: 1.26.2)

What is the encoding for filenames ? We try ANSI, UTF8, UTF16 and ASCII.

Running from command, this is the result:

verapdf -f 0 "C:\temp\ÄÖÜ.pdf"
Jul 23, 2024 1:37:01 PM org.verapdf.apps.utils.ApplicationUtils filterPdfFiles
SCHWERWIEGEND: File C:\temp\├âÔÇ×├âÔÇô├â┼ô.pdf doesn't exist.
Jul 23, 2024 1:37:01 PM org.verapdf.cli.VeraPdfCliProcessor processFilePaths
SCHWERWIEGEND: There are no files to process.

@bdoubrov
Copy link
Contributor

This looks like a duplicate of #741 . It is a known issue with Java executable not supporting Unicode command line arguments.

The easiest workaround is to place your file(s) into the folder with the name that does not include any international characters and pass this folder name as an argument to veraPDF. It will then run a batch job picking up all file names inside this folder correctly.

We'll do more research if there are better solutions for this issue.

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

2 participants