6884: RTF reports broken for intl chars

Ported my fix from gramps34 branch

svn: r22696
This commit is contained in:
Vassilii Khachaturov 2013-07-20 16:30:20 +00:00
parent e0dfb47b30
commit 24aefc1158

View File

@ -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: