Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normal C++ programs like those which are built for tesseract automatically set the locale "C". There can be different locale settings if the tesseract library is used in other software. A wrong locale can cause wrong results from sscanf which is used at different places in the tesseract code, so make sure that we have the right locale settings and fail if that is not the case. Signed-off-by: Stefan Weil <[email protected]>
- Loading branch information