2017-11-05 21:02 GMT+01:00 Serhiy Storchaka <storch...@gmail.com>: > But len(os.fsencode("python3⑽.dll")) != len(os.fsencode("python39.dll")). > > I think it is on Windows. os.fsencode should use UTF-16 there. ⑽ is in the BMP
Presumably, non-Windows platforms wouldn't be interested in .dll files anyway... Stephan > > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/