Beakerboy / MS-OVBA

Create a vbaProject.bin file from VBA source files.
15 stars 3 forks source link

Ensure string encoding is handled correctly and consistently #38

Open Beakerboy opened 1 year ago

Beakerboy commented 1 year ago

The spec defines some fields as multi-byte and some as utf-16. Use the Code Point defined in the dir stream as well as the endien-ness defined in the header.

Beakerboy commented 1 year ago

General principle….hold off rendering everything until needed. Separate data from render (model vs view). This will allow the same model to be viewed (correctly) several different ways. For example, the project model should be able to be loaded, then viewed with different endien-ness and codePageValues correctly.

Need to test some code page changes.

Beakerboy commented 1 year ago

Add a method to the project code_page_name(). This way all modules can get the name of the assigned value.