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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

  From Date Subject
Next Message John Gunther 2007-10-12 17:48:29 Re: accented characters migraine
Previous Message Oliver Elphick 2007-10-12 16:45:17 Re: accented characters migraine