adding unicode support for postgres reader