projects
/
mirror_edk2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
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