Re: [GRASS-dev] mkhtml fails on Windows with UnicodeDecodeError

2022-08-24 Thread Martin Landa
Dear all, út 23. 8. 2022 v 18:49 odesílatel Martin Landa napsal: > 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

Re: [GRASS-dev] mkhtml fails on Windows with UnicodeDecodeError

2022-08-24 Thread Martin Landa
st 24. 8. 2022 v 10:24 odesílatel Martin Landa napsal: > the question is also why we are using default OS encoding to decode HTML > pages [1]. Couldn't we simply use UTF-8 regardless of OS system locale? > see also related PR: https://github.com/OSGeo/grass/pull/2533 Martin -- Martin Landa ht

Re: [GRASS-dev] mkhtml fails on Windows with UnicodeDecodeError

2022-08-24 Thread Vaclav Petras
Hi Martin, On Wed, 24 Aug 2022 at 04:25, Martin Landa wrote: > > the question is also why we are using default OS encoding to decode HTML > pages [1]. Couldn't we simply use UTF-8 regardless of OS system locale? > This seems to be some general confusion around that, or more likely just some leg

Re: [GRASS-dev] mkhtml fails on Windows with UnicodeDecodeError

2022-08-24 Thread Martin Landa
Hi Vaclav, st 24. 8. 2022 v 10:41 odesílatel Vaclav Petras napsal: > The lib/gis/parser_html.c puts iso-8859-1 into the HTML files (I just > checked that now), so that's what an HTML reader should be using. That's of > course not what we want at this point. It just should be UTF-8 everywhere. >

Re: [GRASS-dev] SIngle-Window GUI not working on Ubuntu 22.04

2022-08-24 Thread Paulo van Breugel
On Tue, Aug 23, 2022 at 12:07 PM Anna Petrášová wrote: > Hi Paulo, > > if you are getting the same problem, you should install the latest > wxPython: > > pip install -U -f > https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/ > wxPython > > That should fix it. The wxPython in pa

Re: [GRASS-dev] mkhtml fails on Windows with UnicodeDecodeError

2022-08-24 Thread Vaclav Petras
On Wed, Aug 24, 2022, 4:51 AM Martin Landa wrote: > Hi Vaclav, > > st 24. 8. 2022 v 10:41 odesílatel Vaclav Petras > napsal: > >> The lib/gis/parser_html.c puts iso-8859-1 into the HTML files (I just >> checked that now), so that's what an HTML reader should be using. That's of >> course not wha