Show More
@@ -953,7 +953,7 b' try:' | |||||
953 | # locale. This sets the locale to the user's default system |
|
953 | # locale. This sets the locale to the user's default system | |
954 | # locale. |
|
954 | # locale. | |
955 | import locale |
|
955 | import locale | |
956 |
locale.setlocale(locale.LC_ALL, |
|
956 | locale.setlocale(locale.LC_ALL, r'') | |
957 | except ImportError: |
|
957 | except ImportError: | |
958 | curses = None |
|
958 | curses = None | |
959 |
|
959 |
@@ -30,7 +30,7 b' stringio = util.stringio' | |||||
30 |
|
30 | |||
31 | # This is required for ncurses to display non-ASCII characters in default user |
|
31 | # This is required for ncurses to display non-ASCII characters in default user | |
32 | # locale encoding correctly. --immerrr |
|
32 | # locale encoding correctly. --immerrr | |
33 |
locale.setlocale(locale.LC_ALL, |
|
33 | locale.setlocale(locale.LC_ALL, r'') | |
34 |
|
34 | |||
35 | # patch comments based on the git one |
|
35 | # patch comments based on the git one | |
36 | diffhelptext = _("""# To remove '-' lines, make them ' ' lines (context). |
|
36 | diffhelptext = _("""# To remove '-' lines, make them ' ' lines (context). |
General Comments 0
You need to be logged in to leave comments.
Login now