<div dir="ltr"><div>Hi,</div><div><br></div><div>currently wingrass78 builds on <a href="http://wingrass.fsv.cvut.cz">wingrass.fsv.cvut.cz</a> fails with [1]:</div><div><br></div><div><pre style="color:rgb(0,0,0);white-space:pre-wrap">VERSION_NUMBER=7.8.8dev VERSION_DATE=2022 MODULE_TOPDIR=../.. \
python3 /usr/src/grass78/dist.x86_64-w64-mingw32/tools/mkhtml.py v.random > /usr/src/grass78/dist.x86_64-w64-mingw32/docs/html/v.random.html
Traceback (most recent call last):
File "C:\msys64\usr\src\grass78\dist.x86_64-w64-mingw32\tools\mkhtml.py", line 648, in <module>
git_commit = get_last_git_commit(
File "C:\msys64\usr\src\grass78\dist.x86_64-w64-mingw32\tools\mkhtml.py", line 235, in get_last_git_commit
stdout = decode(stdout)
File "C:\msys64\usr\src\grass78\dist.x86_64-w64-mingw32\tools\mkhtml.py", line 111, in decode
return bytes_.decode(enc)
File "C:\\OSGeo4W\\apps\\Python39\lib\encodings\cp1250.py", line 15, in decode
return codecs.charmap_decode(input,errors,decoding_table)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 58: character maps to <undefined></pre><pre style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif">On Windows 2016 I can't change encoding to UTF-8 (I am getting a similar error with cp1252). I tried to set up LC_ALL or PYTHONIOENCODING, but nothing helped. Default encoding reported by locale.getdefaultlocale() is still cp1250/cp1252 and not UTF-8. Any idea how I can change default encoding on Windows to UTF-8?</font></pre><pre style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif">Thanks in advance! Martin</font></pre><pre style="color:rgb(0,0,0);white-space:pre-wrap"><span style="font-family:Arial,Helvetica,sans-serif;color:rgb(34,34,34)">[1] <a href="https://wingrass.fsv.cvut.cz/grass78/x86_64/logs/log-r1f724052b-1/package.log">https://wingrass.fsv.cvut.cz/grass78/x86_64/logs/log-r1f724052b-1/package.log</a></span><br></pre></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Martin Landa<br><a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br><a href="http://gismentors.cz/mentors/landa" target="_blank">http://gismentors.cz/mentors/landa</a></div></div>