Workaround for custom Android collating sequences

I wouldn't consider it a fix, but at least it allows testing of application using Android collation sequences.

Closes #1230