author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
Fri, 15 Feb 2019 14:56:07 -0500 | |
changeset 41729 | 4d5f48782921 |
parent 41728 | 36b62a522814 |
child 41730 | 19d8d6856338 |
hgext/histedit.py | file | annotate | diff | comparison | revisions |
--- a/hgext/histedit.py Mon Feb 18 23:43:40 2019 -0500 +++ b/hgext/histedit.py Fri Feb 15 14:56:07 2019 -0500 @@ -948,6 +948,12 @@ # Curses Support try: import curses + + # Curses requires setting the locale or it will default to the C + # locale. This sets the locale to the user's default system + # locale. + import locale + locale.setlocale(locale.LC_ALL, u'') except ImportError: curses = None