https://bugs.documentfoundation.org/show_bug.cgi?id=158225

--- Comment #9 from osnola <[email protected]> ---
(In reply to Mikhail Kukharenko from comment #5)
>  I would write the python script to "fix" it
> in my Word 5.0 & Excel 4.0 documents as I have plenty of them.
> 

libmwaw only converts Mac Word 1.0 to 5.0 files and older PowerPoint formats
(Mac and PC): I didn't write any other filters because LibreOffice already had
filters to open other Office formats. 

I'm not sure what python can easily fix. It seems difficult, basically the
principle would be to look at the tables:
https://en.wikipedia.org/wiki/Mac_OS_Roman
and https://en.wikipedia.org/wiki/Mac_OS_Cyrillic_encoding.

For example, if in the original file, we have the character 0x80, normally it
should be converted to А ( but here we get a Ä ), ... So we'd have to go back
one by one to each badly transformed character and, if we find a Ä, transform
it into А, ...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to