The results of comparisons on strings, and the sort order of strings, in part depends on the character set, collation, and encoding properties of the database.
You cannot change the collation of the database once UltraLite writes the file. To change the collation that an existing database uses, do the following: unload the database, create a new database using the appropriate collation, and then reload the database. You may need to convert the data to match the new collation.
Choosing the correct character set, collation, and encoding properties for your database is primarily determined by:
The sort order you require. Generally speaking, you should choose the collation that best sorts the characters you intend to store in your database.
The platform of your device. Requirements among supported devices can vary, and some require that you use UTF-8 to encode your characters. If you need to support multiple devices, you need to determine whether a database can be shared.
If you are synchronizing data, which languages and character sets are supported by the consolidated database. You must ensure that the character sets used in the UltraLite database and the consolidated database are compatible. Otherwise, data could be lost or become altered in unexpected ways if characters in one database's character set do not exist in the other's character set. If you have deployed UltraLite in a multilingual environment, you should also use UTF-8 to encode your UltraLite database.
When you synchronize, the MobiLink server converts characters as follows:
The UltraLite database characters are converted to Unicode.
The Unicode characters are converted into the consolidated database's character set.
UltraLite platform requirements for character set encoding