Re: [HACKERS] client encodings

2003-06-17 Thread Dennis Björklund
On Mon, 16 Jun 2003, Peter Eisentraut wrote: > > However, if you want to produce a utf-8 file, how should that work with > > respect to gettext()? If the message catalog is in latin1 then we need to > > know that and convert that into utf-8. > > I don't think all gettext implementations support a

Re: [HACKERS] client encodings

2003-06-16 Thread Peter Eisentraut
Dennis Björklund writes: > However, if you want to produce a utf-8 file, how should that work with > respect to gettext()? If the message catalog is in latin1 then we need to > know that and convert that into utf-8. I don't think all gettext implementations support automatic character set convers

[HACKERS] client encodings

2003-06-15 Thread Dennis Björklund
I've fixed the problems in psql that was there before: * psql alters the strings in a PQresult * psql sends non validating strings to server This is however not the solution to the general problem with client encodings. When you normally run psql in a terminal, the encoding used by that termi