Pb migration program with SQLite ANSI db from D2007 to XE4
Posted: 13.12.2017, 10:31
Hello,
I need to migrate ANSI application Delphi 2007 to Unicode XE4.
The program store ANSI data into SQLite 3 file.
The recompiled program with XE4 show incorrectly the read strings from db. The French accents are replaced by "?".
Example with text "Préférence" (é = $E9)
The XE4 program show "Pr?f?rence"
And if the XE4 program write the text into db then it’s stored with UTF8 encode (é = $C3A9).
My additional constraint is possibility to old (D2007) and new (XE4) program to accede (read and write) to the same ANSI database.
It’s possible or not?
How to do?
Thank you for help.
I need to migrate ANSI application Delphi 2007 to Unicode XE4.
The program store ANSI data into SQLite 3 file.
The recompiled program with XE4 show incorrectly the read strings from db. The French accents are replaced by "?".
Example with text "Préférence" (é = $E9)
The XE4 program show "Pr?f?rence"
And if the XE4 program write the text into db then it’s stored with UTF8 encode (é = $C3A9).
My additional constraint is possibility to old (D2007) and new (XE4) program to accede (read and write) to the same ANSI database.
It’s possible or not?
How to do?
Thank you for help.