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: (view raw, whole thread or download thread mbox)
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"

> 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-2017 The PostgreSQL Global Development Group