I am using AI 6.6 and I installed MySQL ODBC Connector 5.1 on a Windows XP Pro SP3 (English Version, English-US is used for non-Unicode programs). Running chcp from a command prompt gives Active code page: 437.
In a multilingual (English/French) package, I am including an UTF-8 SQL script (UTF-8 file and content) that connect to a local MySQL database using the ODBC Connector, and creates the database. The DB is created, but the accented characters are bad. A typical UTF-8 bad interpretation problem.
The database creation specifies to use UTF-8:
Code: Select all
CREATE DATABASE IF NOT EXISTS myowndb DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;http://www.advancedinstaller.com/forums ... f=2&t=7741
for the following reasons:
* using MSI to create the DB leads to an incorrect result for accented characters ("Numéro"),
* using in-line command (mysql.exe -u root -p < create_script.sql) leads to a correct result ("Numéro").
There is a strange thing while testing your proposition in the thread 7741:
Making an install in French OR in English leads to the same result: incorrect characters.... when Windows Installer runs the script, it uses the codepage of the language of the installation ...
What is your opinion?
Best regards,
-- Nicolas D.
FOLLOW US
Get the latest news in Application Packaging