Hi Dave,

PFA updated patch to fix encoding issue, I have tested in Python2/3 and looks like working in both environment.

Almost all nodes are affected with this change, I tried to test & cover all basic operations on nodes but still it requires some testing.

This patch will cover below tickets,
RM#1307
RM#1479

Please review.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company