how to decode rtf characterset ?
Stef Mientki
stef.mientki at gmail.com
Mon Feb 1 06:14:13 EST 2010
hello,
I want to translate rtf files to unicode strings.
I succeeded in remove all the tags,
but now I'm stucked to the special accent characters,
like :
"Vóór"
the character "ó" is represented by the string r"\'f3",
or in bytes: 92, 39,102, 51
so I think I need a way to translate that into the string r"\xf3"
but I can't find a way to accomplish that.
a
Any suggestions are very welcome.
thanks,
Stef Mientki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100201/ae424c69/attachment.html>
More information about the Python-list
mailing list