]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/Python/sitecustomize.py
Sync tool code to BuildTools project r1783.
[mirror_edk2.git] / BaseTools / Source / Python / sitecustomize.py
1 import sys
2 import locale
3
4 if sys.platform == "darwin":
5 DefaultLocal = locale.getdefaultlocale()[1]
6 if DefaultLocal is None:
7 DefaultLocal = 'UTF8'
8 sys.setdefaultencoding(DefaultLocal)
9