How to get the codepage currently used in local computer?
How to get the codepage currently used in local computer? Question: In a Python 3.8 script, I’m trying to retrieve the codepage which is currently used in my computer (OS: Windows 10). Using sys.getdefaultencoding() will return the codepage used in Python (‘utf-8’), which is different from the one my computer uses. I know I can …
Total answers: 1