Skip site navigation (1) Skip section navigation (2)

Re: accented characters migraine

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Gunther <postgresql(at)bucksvsbytes(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: accented characters migraine
Date: 2007-10-12 16:48:35
Message-ID: 29173.1192207715@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
John Gunther <postgresql(at)bucksvsbytes(dot)com> writes:
> PROBLEM: Entering accented characters in psql often results in the
> error: invalid byte sequence for encoding "UTF8"

> ENVIRONMENT:
> Terminal program: putty.exe, Translation: ISO-8859-1:1998 (Latin-1, West
> Europe)
> client_encoding: UTF8

Those two settings need to match up.  PG can convert from latin1 to
utf8, but only when you tell it the truth about what encoding the client
is using.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: John GuntherDate: 2007-10-12 17:48:29
Subject: Re: accented characters migraine
Previous:From: Oliver ElphickDate: 2007-10-12 16:45:17
Subject: Re: accented characters migraine

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group