<div dir="ltr"><div>Hi,<br><br><br></div><div>Thanks for your feedback.<br></div><div><br></div>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.<br><br><a href="https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=cppcheck/cppcheck-report.sh;hb=HEAD#l208">https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=cppcheck/cppcheck-report.sh;hb=HEAD#l208</a><br><div><br><br></div><div>- Maarten.<br></div><div><br><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 27, 2015 at 7:41 PM, julien2412 <span dir="ltr"><<a href="mailto:serval2412@yahoo.fr" target="_blank">serval2412@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Just for information, I git updated LO sources (master branch) and cppcheck<br>
today, ~/cppcheck/cppcheck/htmlreport/cppcheck-htmlreport didn't complain<br>
about encoding problem.<br>
<br>
I must say that I use Python 2.7.8 + I filter "unusedFunction"<br>
Here are the lines I use:<br>
cppcheck  -i external/ -i dictionaries/ --xml  --enable=all ./ 2> ./err.xml<br>
~/cppcheck/cppcheck/htmlreport/cppcheck-htmlreport  --title=LibreOffice<br>
--file=err.xml --report-dir=cppcheck_reports --source-dir=.<br>
<br>
Julien<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://nabble.documentfoundation.org/CppCheck-Report-Failure-tp4137343p4137770.html" target="_blank">http://nabble.documentfoundation.org/CppCheck-Report-Failure-tp4137343p4137770.html</a><br>
Sent from the Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div><br></div></div></div></div>