<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 24, 2022, 4:51 AM Martin Landa <<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Vaclav,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">st 24. 8. 2022 v 10:41 odesílatel Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com" target="_blank" rel="noreferrer">wenzeslaus@gmail.com</a>> napsal:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>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.<br></div><div><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </div></div></div></blockquote><div><br></div><div>+1 for switching to UTF-8</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>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.</div></div></div></blockquote><div><br></div><div>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]?</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">It should emit UTF-8, I don't know what it does now.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><div>Back to the original problem, how can we solve the problem with compilation on Windows 2016 without changing the code base of grass78 significantly? BTW, I was able to compile grass78 on the same machine a few weeks ago and I don't see any related changes in v.random.html... (?)</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">The PR looks okay on the surface. Maybe you can just remove the problematic character in 7.8.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Martin</div><div><br></div>-- <br><div dir="ltr">Martin Landa<br><a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank" rel="noreferrer">http://geo.fsv.cvut.cz/gwiki/Landa</a><br><a href="http://gismentors.cz/mentors/landa" target="_blank" rel="noreferrer">http://gismentors.cz/mentors/landa</a></div></div>
</blockquote></div></div></div>