VirtualBox

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

Last change on this file since 85805 was 85718, checked in by vboxsync, 5 years ago

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

  • Property svn:eol-style set to native
File size: 349 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.

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