Determining an Installation Database's Code Page
To determine the code page of a database, call MsiDatabaseExport with hDatabase set to the handle of the database and szTableName set to _ForceCodepage. This exports a text file with an .idt extension. The first two lines of this file are blank. The third line is the ANSI code page number, followed by a tab, followed by the name _ForceCodepage. See also Code Page Handling of Imported and Exported Tables.
An example of determining the code page by using the Export method is provided in the Windows Installer SDK as a part of the utility WiLangId.vbs. For more information about using WiLangId.vbs see the topic: Manage Language and Codepage.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for