from __future__ import print_function import sys import locale try: reload(sys) except NameError: # Python 3 pass def main(): encoding = locale.getdefaultlocale()[1] if not encoding: return False try: sys.setdefaultencoding(encoding) except AttributeError: # Python 3 pass textmap = { 'cp936': u'\u4e2d\u6587', 'cp1252': u'Lat\u012Bna', 'cp932': u'\u306b\u307b\u3093\u3054' } if encoding in textmap: print(textmap[encoding]) return True if __name__ == '__main__': print(main())
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
VS_2017_BuildTools_minimal.txt | File | 9.1 KB | 0644 |
|
VS_2017_Community_workload.txt | File | 17.75 KB | 0644 |
|
VS_2017_Express.txt | File | 16.27 KB | 0644 |
|
VS_2017_Unusable.txt | File | 3.85 KB | 0644 |
|
VS_2019_BuildTools_minimal.txt | File | 10.22 KB | 0644 |
|
VS_2019_Community_workload.txt | File | 16.23 KB | 0644 |
|
VS_2019_Preview.txt | File | 17.49 KB | 0644 |
|
ca-bundle.crt | File | 2.35 KB | 0644 |
|
ca.crt | File | 1.21 KB | 0644 |
|
server.crt | File | 1.2 KB | 0644 |
|
server.key | File | 1.64 KB | 0644 |
|
test-charmap.py | File | 535 B | 0644 |
|