fa5cd40705cf482f7c4ba6bde8666058be25a74f
[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