UnionOfRAD/lithium — pull request #426 by finsterdexter (2012-04-12 22:54:08+00:00)
Title: Reversed parameters of pg_set_client_encoding, as connection should be the first argument.

Per php manual: http://php.net/manual/en/function.pg-set-client-encoding.php