View Revisions: Issue #1852

Summary 0001852: The python interpreter does not recognize the posix locale settings
Revision 2014-12-08 13:49 by shoogen
Steps To Reproduce $ python -c "import sys;print sys.getfilesystemencoding()"
UTF-8
$ LANG=C python -c "import sys;print sys.getfilesystemencoding()"
ANSI_X3.4-1968
$ ./fc-build/bin/FreeCADCmd
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> import sys
>>> sys.getfilesystemencoding()
'ANSI_X3.4-1968'
>>> import locale
>>> locale.getdefaultlocale()
(None, None)
Revision 2014-12-08 13:48 by shoogen
Steps To Reproduce $ python -c "import sys;print sys.getfilesystemencoding()"
UTF-8
$ LANG=C python -c "import sys;print sys.getfilesystemencoding()"
ANSI_X3.4-1968
$ ./fc-build/bin/FreeCADCmd
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> import sys
>>> sys.getfilesystemencoding()
'ANSI_X3.4-1968'
>>> import locale
>>> locale.getlocale()
(None, None)
Revision 2014-12-08 13:46 by shoogen
Steps To Reproduce $ python -c "import sys;print sys.getfilesystemencoding()"
UTF-8
$ LANG=C python -c "import sys;print sys.getfilesystemencoding()"
ANSI_X3.4-1968
$ ./fc-build/bin/FreeCADCmd
[FreeCAD Console mode <Use Ctrl-D (i.e. EOF) to exit.>]
>>> import sys
>>> sys.getfilesystemencoding()
'ANSI_X3.4-1968'