I've made some tests to see what works and what does not. I downloaded pg 7.3.4 (which is more or less what is used in fedora) and current cvs. Both compiled with the same flags and run in the same way.
pg 7.3.4 -------- Running LC_ALL=sv_SE postmaster and LC_ALL=sv_SE.UTF-8 postmaster both produces messages with same encoding. pg 7.5 (cvs) ------------ Running LC_ALL=sv_SE postmaster and LC_ALL=sv_SE.UTF-8 postmaster produces messages with different encodings, either latin1 or utf-8 depending on the environment variable. The only conclusion I have so far is that something have indeed changed in pg after 7.3 and maybe in the future it will work a little better in fedora and other dists. The problems with client/server having different encodings still remains to be solved. That is probably solvable by simply translating the messages to client_encoding before sending. It does not sound very hard. The language used should however also be that of the client and it might need (a lot) more work. A last question. Why is --enable-nls needed? Most other programs default to that. -- /Dennis Björklund ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org