Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#15: use the C locale to portably parse the PDF header
On a machine where the locale is set to something not equivalent to ASCII, the call to `awk' in `get_pdf_version()' will throw the following error: awk: cmd. line:1: (FILENAME=- FNR=1) warning: Invalid multibyte data detected. There may be a mismatch between your data and your locale. This can be fixed by forcing the C locale by prepending the call to awk with `LC_ALL=C'. Reported and fixed by Laurent MUGNIER. Resolves #15.
- Loading branch information