Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppor SQLITE_ENABLE_ICU? #13

Open
sergeymild opened this issue Jul 28, 2021 · 3 comments
Open

Suppor SQLITE_ENABLE_ICU? #13

sergeymild opened this issue Jul 28, 2021 · 3 comments

Comments

@sergeymild
Copy link

is it possible to add support SQLITE_ENABLE_ICU ?

@clemensg
Copy link
Owner

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
Copy link
Owner

clemensg commented Aug 23, 2021

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
Copy link
Owner

clemensg commented Dec 22, 2021

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants