[GRASS-dev] mkhtml fails on Windows with UnicodeDecodeError

Martin Landa landa.martin at gmail.com
Sat Aug 27 07:17:24 PDT 2022


Hi,

st 24. 8. 2022 v 12:03 odesílatel Vaclav Petras <wenzeslaus at gmail.com>
napsal:

>
>>> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>>>
>>
>> +1 for switching to UTF-8
>>
>> The HTML files may already use UTF-8 (?), but the parser may emit HTML in
>>> system-dependent encoding. However, the source code it is using should be
>>> UTF-8 or more likely it is simply ASCII, so perhaps not much to worry about.
>>>
>>
>> I am not sure why the parser should emit HTML in system-dependent
>> encoding. Why simply not use UTF-8 as suggested in PR [1]?
>>
>
> It should emit UTF-8, I don't know what it does now.
>

I have created new PR [1]. Martin

[1] https://github.com/OSGeo/grass/pull/2547

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20220827/bf0674f2/attachment.htm>


More information about the grass-dev mailing list