VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/sitecustomize.py@ 105681

最後變更 在這個檔案從105681是 85718,由 vboxsync 提交於 5 年 前

Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 349 位元組
 
1## @file
2#
3#
4# Copyright (c) 2009 - 2014, Apple Inc. All rights reserved.<BR>
5#
6# SPDX-License-Identifier: BSD-2-Clause-Patent
7import sys
8import locale
9
10if sys.platform == "darwin" and sys.version_info[0] < 3:
11 DefaultLocal = locale.getdefaultlocale()[1]
12 if DefaultLocal is None:
13 DefaultLocal = 'UTF8'
14 sys.setdefaultencoding(DefaultLocal)
15
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette