How do you find out what the “system default encoding” is? August 21, 2023 by Tarik You should use sys.getdefaultencoding()