From 24aefc11587bc8d5edefa84962f559bc557cc4bd Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Sat, 20 Jul 2013 16:30:20 +0000 Subject: [PATCH] 6884: RTF reports broken for intl chars Ported my fix from gramps34 branch svn: r22696 --- gramps/plugins/docgen/rtfdoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/docgen/rtfdoc.py b/gramps/plugins/docgen/rtfdoc.py index 140081a7c..206efd427 100644 --- a/gramps/plugins/docgen/rtfdoc.py +++ b/gramps/plugins/docgen/rtfdoc.py @@ -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: