Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9.3, 1.0, and 1.0.1

stable hglib: remove NULLs from toutf output

GTK seems touchy about embedded NULLs. Since toutf is almost always used
to prep strings for GTK, it seems best to strip them out here.

Closes #885

Changeset 6ec4424582ad

Parent ac7e83350184

by Steve Borho

Changes to one file · Browse files at 6ec4424582ad Showing diff from parent ac7e83350184 Diff from another changeset...

 
45
46
47
48
 
49
50
51
 
45
46
47
 
48
49
50
51
@@ -45,7 +45,7 @@
    Return 'str' type string.   """ - return tounicode(s).encode('utf-8') + return tounicode(s).encode('utf-8').replace('\0','')    def fromutf(s):   """