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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top