Troubleshooting tips for constructing UTF8 MSIs from IDTs?
I'm trying to import UTF8 encoded IDT files to make a UTF8 code page MSI but the import is failing. Can you help me troubleshoot?
The missing point is that the file itself should be saved as ASCII even if it's going to support a different encoding. Generally a file saved in a specific encoding will start with hex characters that communicate the file encoding to encoding-aware editors. For example,
- Unicode file starts with a FFFE
- UTF8 files start with an EFBBBF
An idt should not start with any of these encoding indicators.
Another way of expressing this detail is:
When trying to build UTF8 MSIs through IDTs, the data (including column/table names) inside this IDT file could be UTF8, but the file itself should not be UTF8.
Content credit also belongs to
- Hem, MSI Team Dev. You can get other Hem insights about developing for Windows Installer from the Windows Installer Chat Archives
[Author: Robert Flaming]
This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm.