diff options
author | 2020-11-18 23:26:45 +0100 | |
---|---|---|
committer | 2020-11-18 23:26:45 +0100 | |
commit | 81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 (patch) | |
tree | 8b959d50c5a614cbf9fcb346ed556140374d4b6d /node_modules/node-gyp/test/fixtures/test-charmap.py | |
parent | 1870f3fdf43707a15fda0f609a021f516f45eb63 (diff) | |
download | website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.gz website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.bz2 website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.zip |
rm node_modules
Diffstat (limited to 'node_modules/node-gyp/test/fixtures/test-charmap.py')
-rw-r--r-- | node_modules/node-gyp/test/fixtures/test-charmap.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/node_modules/node-gyp/test/fixtures/test-charmap.py b/node_modules/node-gyp/test/fixtures/test-charmap.py deleted file mode 100644 index d9fa6fb..0000000 --- a/node_modules/node-gyp/test/fixtures/test-charmap.py +++ /dev/null @@ -1,22 +0,0 @@ -import sys -import locale - -reload(sys) - -def main(): - encoding = locale.getdefaultlocale()[1] - if not encoding: - return False - - sys.setdefaultencoding(encoding) - textmap = { - 'cp936': u'\u4e2d\u6587', - 'cp1252': u'Lat\u012Bna', - 'cp932': u'\u306b\u307b\u3093\u3054' - } - if textmap.has_key(encoding): - print textmap[encoding] - return True - -if __name__ == '__main__': - print main() |