sqlite3pod icon indicating copy to clipboard operation
sqlite3pod copied to clipboard

Suppor SQLITE_ENABLE_ICU?

Open sergeymild opened this issue 4 years ago • 3 comments

is it possible to add support SQLITE_ENABLE_ICU ?

sergeymild avatar Jul 28 '21 05:07 sergeymild

Yes, you can send a PR or I can look into it when the next release is due.

Not sure if icu libraries are shipped with iOS and if we have to add linker flags as well or if adding the define is enough?

clemensg avatar Jul 28 '21 09:07 clemensg

I looked into this some more: Looks like on iOS there is only a reduced version of ICU present, for example the header file unicode/ucol.h is missing (not sure how important that one is and if we could add a patch to work around). On macOS there seems to be no ICU shipped at all. To support this, we'd probably have to link to an externally built version of ICU..

clemensg avatar Aug 23 '21 12:08 clemensg

Hi, I added a branch with experimental support. I could only test it on macOS 12.1 so far so it would be great if you could try it out and report back. You can reference the branch like this pod 'sqlite3', inhibit_warnings: true, subspecs: ['icu'], git: 'https://github.com/clemensg/sqlite3pod.git', branch: 'icu'

clemensg avatar Dec 22 '21 13:12 clemensg