KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Getting "This database must be in Unicode mode in order to be opened" message on start up
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: September 11, 2019

If a 4D structure file that is still set to ASCII Compatibility Mode is attempted to be opened in 4D v17 the following dialog is displayed:



The dialog warns that the database must be in Unicode mode and asks if you would like to temporarily switch to Unicode mode and warns that it may modify your data.

It is important to understand that although clicking OK will allow you enter the database, it will not change the current Unicode setting. Therefore subsequent attempts to open the database will reveal the same dialog again unless the underlying unicode setting is change permanently.

If you would like to permanently switch to Unicode mode then you would need to modify the Database Settings either via the SET DATABASE PARAMETER or via the Compatibility page of the Database Settings:

Database Settings / Compatibility:



Command:

SET DATABASE PARaMETER(41;1) // enable unicode mode