6884: RTF reports broken for intl chars
Re-applied my fix from trunk svn: r22697
This commit is contained in:
parent
0f86ee2044
commit
4e0cad08b2
@ -492,7 +492,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 += '{\\uc1\\u%d\\uc0}' % ord(i)
|
||||
elif i == '{' or i == '}' :
|
||||
self.text += '\\%s' % i
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user