From 8618f1468d1519c196f8f7c9b173eb7d54ca0a6b Mon Sep 17 00:00:00 2001 From: prculley Date: Mon, 13 Jun 2016 10:53:41 -0500 Subject: [PATCH] bug9240 RTF files show incorrect Unicode characters --- 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 7e8e3df07..536af2c78 100644 --- a/gramps/plugins/docgen/rtfdoc.py +++ b/gramps/plugins/docgen/rtfdoc.py @@ -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 == '\\':