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