Question

tsvector field in my Postgres database is not being populated with Arabic text on my Mac OS X (10.8.2). It's perfectly working with English text.

I asked over IRC and I was told perhaps the platform I'm using doesn't have isw*() ctype functions that work with those encoding and ctype settings.

So I tried on a Debian 6 (32-bit) and the tsvector field was populated normally.

What can I do to bring this functionality to OS X?

Your help would be greatly appreciated.

Was it helpful?

Solution

The Unix-style locale support on OS X is pretty broken. Even if you set a UTF-8 locale, it's not going to do anything useful with that. So OS X is probably not going to be a good platform for running your application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top