

Its code then invokes our previously set Xojo function through the stored callback function pointer. Then, once we load this extension using the "SELECT load_extension" command, sqlite3_extension_init will get called. The SetCallback function stores the address of our Xojo function for later use. We pass it the address of a Xojo function in which we'll handle the installation of our custom functions. This is a function we'll call from Xojo before loading this extension into the sqlite engine. The first relevant part here is the SetCallback function.

so files of the ICU-sqlite lib on the web and use them with these instructions. I believe, however, that you can more easily find. Mind you, only for OS X, though, as I do not have the time to make and test versions for Windows and Linux as well. Therefore, I'm making my own built version available, along with the source code. And unfortunately, there is none publically available as far as I could see, at least not for OS X. Still, you need to have a readily built ICU lib for sqlite before you can load it. Furtunately, though, Xojo's plugin allows dynamic loading of extensions (like plugins) into the sqlite engine. This is not a viable option with Xojo because you'd also have to write your own Database plugin to make the sqlite lib usable in Xojo (while the sqlite lib is open source, Xojo's plugin is not, or this would be less of an issue).

The usual solution to this is to compile the sqlite3 library with ICU support and then include this lib in your program. This missing unicode support also affects sorting and related comparison functions. only the plain ASCII chars (a-z) will get uppercased but not the special french chars. For instance, if you try to use the SQL function upper on a french phrase such as Tête-à-Tête, you will get TêTE-à-TêTE, i.e. Plus: custom operators, enterprise data modeling tools, Xojo 2015r2, Xojo games, tips, and much more.Xojo's default Database class REALSQLDatabase (or its replacement SQLiteDatabase), which is based on sqlite, does not support international (non-english) characters. This year was particularly enjoyable (there was even a murder during dinner), so Marc's included lots of pictures for those who couldn't be there.Īs part of his ongoing personal health journal project, JC Cruz explains how to collect and analyze raw data into health metrics that actually make sense to the user. XDC isn't just endless tech lectures and hotel food - it's adventure and experiences in a new city, connecting with internet colleagues, and fervent debates about our favorite develeopment tool. Here's what's coming and what you need to know to prepare yourself. While we all want our new features now, the reality is that things take time. Geoff Perlman's keynote address at XDC is like the Xojo State of the Union - it sets the tone for the year and gives us a vision of the future.
