##// END OF EJS Templates
encoding: fix typo in variable name...
Martin Geisler -
r13051:120eccaa default
parent child Browse files
Show More
@@ -95,7 +95,7 b' def tolocal(s):'
95 95 for e in ('UTF-8', fallbackencoding):
96 96 try:
97 97 u = s.decode(e) # attempt strict decoding
98 if u == 'UTF-8':
98 if e == 'UTF-8':
99 99 return localstr(s, u.encode(encoding, "replace"))
100 100 else:
101 101 return localstr(u.encode('UTF-8'),
General Comments 0
You need to be logged in to leave comments. Login now