Merge pull request #174 from prculley/bug9240
bug9240 RTF files show incorrect Unicode characters
This commit is contained in:
commit
ea79dc2aa2
@ -486,7 +486,7 @@ class RTFDoc(BaseDoc, TextDoc):
|
||||
else:
|
||||
# If (uni)code with more than 8 bits:
|
||||
# RTF req valus in decimal, not hex.
|
||||
self.text += '{\\uc1\\u%d\\uc0}' % ord(i)
|
||||
self.text += '{\\uc0\\u%d}' % ord(i)
|
||||
elif i == '\n':
|
||||
self.text += '\n\\par '
|
||||
elif i == '{' or i == '}' or i == '\\':
|
||||
|
Loading…
Reference in New Issue
Block a user