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

--- Comment #10 from Mikhail Kukharenko <[email protected]> ---
(In reply to osnola from comment #6)
> -  std::string fName("");
> +  if (name=="\x8b\xe0\xf2\xe8\xed\xf1\xea\xe8\xe9") return "Times CY";
$ echo -e '\x8b\xe0\xf2\xe8\xed\xf1\xea\xe8\xe9' | iconv -f MACCYRILLIC 
Латинский

I just changed in the binary word document via hex editor this font name to
"Times CYR" and it opened perfectly with readable Cyrillic text.
It also worked when I changed it to "Times  CY" and to "Arial  CY" (with extra
space in the middle to preserve the string length)

I tried to do the same with Excel 4.0 for Mac documents. Example is attached.
All my Excel documents contain two fonts:
1. Латинский (\x8b\xe0\xf2\xe8\xed\xf1\xea\xe8\xe9)  and 
2. Прямой Проп (8FF0DFECEEE9208FF0EEEF)

1st font is Serif (like Times)
2nd font is Sans Serif (like Arial)
I changed 1st font name again to "Times CYR" and tried to replace 2nd font name
to "Arial   CYR" or to "Arial    CY" (to preserve the length) but it did not
work (opened unreadable)

Can you please try to "force open" attached document?

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

Reply via email to