Fix Unicode support in PL/Python

Peter Eisentraut <peter_e@gmx.net>

Commit: eb62398f391eedee7953becb410bf3ae86b9872b
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2009-09-13T22:07:06Z
Releases: 9.0.0
Fix Unicode support in PL/Python

Check calls of PyUnicode_AsEncodedString() for NULL return, probably
because the encoding name is not known.  Add special treatment for
SQL_ASCII, which Python definitely does not know.

Since using SQL_ASCII produces errors in the regression tests when
non-ASCII characters are involved, we have to put back various regression
test result variants.

Files