Hi,
Thanks for your feedback. The error had to do with the different way the language environment variables get set when run from a login shell and from cron. Setting them (LANG=, LC_*=) explicitly to something UTF-8 in the script resolves the issue. https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=cppcheck/cppcheck-report.sh;hb=HEAD#l208 - Maarten. On Tue, Jan 27, 2015 at 7:41 PM, julien2412 <[email protected]> wrote: > Hi, > > Just for information, I git updated LO sources (master branch) and cppcheck > today, ~/cppcheck/cppcheck/htmlreport/cppcheck-htmlreport didn't complain > about encoding problem. > > I must say that I use Python 2.7.8 + I filter "unusedFunction" > Here are the lines I use: > cppcheck -i external/ -i dictionaries/ --xml --enable=all ./ 2> ./err.xml > ~/cppcheck/cppcheck/htmlreport/cppcheck-htmlreport --title=LibreOffice > --file=err.xml --report-dir=cppcheck_reports --source-dir=. > > Julien > > > > -- > View this message in context: > http://nabble.documentfoundation.org/CppCheck-Report-Failure-tp4137343p4137770.html > Sent from the Dev mailing list archive at Nabble.com. > _______________________________________________ > LibreOffice mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/libreoffice >
_______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
