If you want to support multiple encodings, the only safe locale choice
is (and always has been) C.

I should be ashamed for asking this, but would someone care to tell me how encoding differs from locale?

My postgresql FreeBSD rcNG script reads:

postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc-collate=C"}

As I understand it collation is part of locale, but encoding is "something else"?

Thanks.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to