Fix bug with importing documents with mac-cyrillic on mac os
Improove import from rtf