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

--- Comment #13 from Mike Kaganski <[email protected]> ---
LibreOffice reads PROJECTCODEPAGE record [1] (in this file it's Windows-1251)
in VbaProject::readVbaModules (oox/source/ole/vbaproject.cxx). It uses the
codepage to decode the strings in the project, but then forgets the value, and
when writing, uses hard-coded Win-1252, naturally turning everything not
representable in that codepage into question marks.

Code pointer: writePROJECTCODEPAGE in oox/source/ole/vbaexport.cxx.

[1] [MS-OVBA] sect. 2.3.4.2.1.4
https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-ovba/575462ba-bf67-4190-9fac-c275523c75fc

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to