On Sat, 2009-10-03 at 11:21 -0400, Tom Lane wrote:
> Well, there are assorted Windows code pages in which 0x80 *is* supposed
> to map to the Euro sign. I suspect some confusion somewhere in
> Solaris-land about the definition of LATIN2. But the main point here
> is that what is coming out, on my machines as well as Zdenek's, is the
> single byte "\200" not the "\\u0080" representation that the test seems
> to expect. Where exactly are you expecting the latter string to get
> substituted in?
The way I understand it, the \uxxxx comes from psql, mbprint.c. So this
may depend on exactly what locale psql, as run by pg_regress, thinks it
is in.