Bug 158282 - FILEOPEN Incorrect encoding opening MS Excel 4.0 for Macintosh files with cyrillic text
Summary: FILEOPEN Incorrect encoding opening MS Excel 4.0 for Macintosh files with cyr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Format-Filters
  Show dependency treegraph
 
Reported: 2023-11-20 11:20 UTC by Mikhail Kukharenko
Modified: 2025-12-09 03:12 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
MS Excel 4.0 document with Cyrillic text (3.12 KB, application/octet-stream)
2023-11-20 11:20 UTC, Mikhail Kukharenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kukharenko 2023-11-20 11:20:57 UTC
Created attachment 190920 [details]
MS Excel 4.0 document with Cyrillic text

When I open the old MS Excel 4.0 documents with cyrillic text in Libreoffice , they opened with incorrect encoding (became unreadable).

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)

Right inside the binary document I changed the 1st font name to 
"Times CYR" and  2nd font name to "Arial   CYR" (to preserve the length) but it did not work (opened unreadable again).

Utilities from https://sourceforge.net/p/libmwaw/wiki/Home/ did not help either.

See also https://bugs.documentfoundation.org/show_bug.cgi?id=158225#c12

I tried to understand here (https://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-xls/cd03cb5f-ca02-4934-a391-bb674cb8aa06) what should I change inside Excel document, but its too complicated.

Is that possible to fix libreoffice calc filter to correctly import old excel documents with at least fonts listed above?
Comment 1 Roman Kuznetsov 2023-11-23 20:48:04 UTC
confirm in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d7a5e7643f3540b1490c1e2f1a91ff86c721d7b6
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded
Comment 2 QA Administrators 2025-12-09 03:12:19 UTC
Dear Mikhail Kukharenko,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug