<p dir="ltr">Can you be more specific? I think the reason for the error is that string constants are encoded in the default encoding, which is ascii, and translated messages are in the local locale. The reverted change tried to match the two encodings.</p>
<p dir="ltr">It's not hiding any bugs in the code. In python 2, IMHO it's not possible to change the encoding of strings without using sitecustomize.py or usercustomize.py.</p>
<p dir="ltr">If there is a better fix, that would be great because we don't have to possibly override user's *customize.py.</p>
<p dir="ltr">On May 18, 2014 4:05 PM, "GRASS GIS" <<a href="mailto:trac@osgeo.org">trac@osgeo.org</a>> wrote:<br>
><br>
> #1856: wxGUI with LANG=pl_PL.utf8 throws "'ascii' codec can't decode byte"<br>
> --------------------------+-------------------------------------------------<br>
> Reporter: msieczka | Owner: grass-dev@…<br>
> Type: defect | Status: new<br>
> Priority: normal | Milestone: 6.4.4<br>
> Component: wxGUI | Version: svn-releasebranch64<br>
> Keywords: LANG, locale | Platform: Linux<br>
> Cpu: x86-64 |<br>
> --------------------------+-------------------------------------------------<br>
><br>
> Comment(by glynn):<br>
><br>
> Replying to [comment:4 hcho]:<br>
> > Fixed in r60307<br>
><br>
> Not a fix.<br>
><br>
> r60307 reverted.<br>
><br>
> --<br>
> Ticket URL: <<a href="https://trac.osgeo.org/grass/ticket/1856#comment:5">https://trac.osgeo.org/grass/ticket/1856#comment:5</a>><br>
> GRASS GIS <<a href="http://grass.osgeo.org">http://grass.osgeo.org</a>><br>
><br>
</p>