Hi,
I'm trying to use 'Rtf2Html.py' on OSX but get this error:
<pre><code>
Traceback (most recent call last):
File "/Users/richard/Downloads/Rtf-0.2.1/rtf/Rtf2Html.py", line 311, in <module>
tester.feed(line)
File "/Users/richard/Downloads/Rtf-0.2.1/rtf/RtfParser.py", line 41, in feed
self.feedChar(c)
File "/Users/richard/Downloads/Rtf-0.2.1/rtf/RtfParser.py", line 75, in feedChar
char = self.getChar(int(self.escapedChar,16))
File "/Users/richard/Downloads/Rtf-0.2.1/rtf/Rtf2Html.py", line 258, in getChar
return unicode(chr(code),self.ansicpg)
LookupError: unknown encoding: cp10000
</code></pre>
I'm afraid I'm new to Python (and working with the command line in OSX), so I don't know if this is a problem with this project, with my Python install or with my input file. The input file was saved from Word 2008 (again on OSX) so it's full of garbage but I don't know if that is relevant, the encoding does not appear to be cp100000.
Thanks,
Richard