Fix postgres locale/encoding issue