Wed Nov 30 11:36:26 UTC 2005 Kirill Smelkov * fixu8: honour config.repoencoding when decoding characters like [_\e3] diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2015-10-04 06:23:36.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2015-10-04 06:23:36.000000000 +0000 @@ -96,7 +96,7 @@ # finally, replace s with our new improved string, and # repeat the ugly procedure - char = char.decode('raw_unicode_escape') + char = char.decode(config.repoencoding) mn = '[_\\' + middle + '_]' s = s.replace(mn, char, 1) openpos = s.find('[_', openpos + 1)