[docs] Potential documentation bug in Python 3 Tutorial about locale.setlocale

Cory Lanker clanker at gmx.com
Sat Aug 5 12:00:42 EDT 2017


Perhaps this is incorrect, but the line in section 11.1:
locale.setlocale(locale.LC_ALL, 'English_United States.1252')
didn’t work. I believe the problem is my platform is Mac OS. The following worked for me but wasn’t obvious:
locale.setlocale(locale.LC_ALL, ‘en_US.UTF-8')

Overall, your tutorial is fantastic and I appreciate the effort taken to create it.

Best,
Cory

Cory Lanker


More information about the docs mailing list