[Osgeo4w-trac] [osgeo4w] #682: MSI and EXE installers: different Python locale settings leads to issues with the Python console script editor

OSGeo4W trac_osgeo4w at osgeo.org
Wed Jun 23 03:09:36 PDT 2021


#682: MSI and EXE installers: different Python locale settings leads to issues
with the Python console script editor
------------------------+----------------------------
Reporter:  andreaerdna  |       Owner:  osgeo4w-dev@…
    Type:  defect       |      Status:  new
Priority:  major        |   Component:  Package
 Version:               |  Resolution:
Keywords:               |
------------------------+----------------------------

Comment (by PedroNGV):

 Replying to [comment:7 jef]:
 > 3.18.1?  3.9.0?   Why not 3.20.0 and 3.9.5?

 I get the same with QGIS 3.20.0 and Python 3.9.5:


 {{{
 sys.version
 '3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit
 (AMD64)]'
 os.environ['PYTHONUTF8']
 '1'
 sys.flags.utf8_mode
 0
 import locale
 locale.getpreferredencoding()
 'cp1252'
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/682#comment:8>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list