brendonh / pyth

Python text markup and conversion
MIT License
89 stars 79 forks source link

Control "f0" in RTF file from Mac OS X could not resolve charset. #30

Open pphetra opened 9 years ago

pphetra commented 9 years ago

When using Rtf15Reader with rtf file from Mac OS X. The ascii-escape character decoding is using a wrong charset due to control "f0" is fail to resolve charset from charsetTable.

In this patch, I 'm provide a unit test for this scenario.