add some encoding debug code
This commit is contained in:
@@ -91,6 +91,17 @@ def main() -> None:
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
# TODO remove this encoding stuff
|
||||||
|
import locale
|
||||||
|
import os
|
||||||
|
print(sys.stdout.encoding)
|
||||||
|
print(sys.stdout.isatty())
|
||||||
|
print(locale.getpreferredencoding())
|
||||||
|
print(sys.getfilesystemencoding())
|
||||||
|
print(os.environ["PYTHONIOENCODING"])
|
||||||
|
print(chr(246), chr(9786), chr(9787))
|
||||||
|
# TODO end
|
||||||
|
|
||||||
detect_obsolete_options()
|
detect_obsolete_options()
|
||||||
|
|
||||||
if args.platform != 'auto':
|
if args.platform != 'auto':
|
||||||
|
|||||||
Reference in New Issue
Block a user