Re: Insert data with greek characters using psql environment

From: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
To: ΑΠΟΣΤΟΛΟΣ ΛΕΛΕΝΤΖΗΣ <lelentzisapostolos(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Insert data with greek characters using psql environment
Date: 2010-11-13 16:33:55
Message-ID: AANLkTi=9g28X3kQ-ugZcVyTUpjBzveXz4nvRD3HhjmL7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/11/12 ΑΠΟΣΤΟΛΟΣ ΛΕΛΕΝΤΖΗΣ <lelentzisapostolos(at)gmail(dot)com>:
> Hello,
>
> I am a new user of PostgreSQL , and i have a problem with encoding settings
> of psql.
> Specifically, i want to insert data with greek characters using psql
> environment.
> I change the enconding settings of psql, writing the following command:
> SET CLIENT_ENCODING TO 'UTF8';
> but i can't insert my data!!
> Can you help me??

You're not using psql under windows, are you? It works horribly on windows.

It'll use a weird legacy encoding such as IBM codepage 850 (that's
what it is on my Irish locale Windows XP, but it's probably something
else for you).

--
Regards,
Peter Geoghegan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2010-11-13 16:43:03 Re: The first dedicated PostgreSQL forum
Previous Message Merlin Moncure 2010-11-13 15:58:11 Re: Insert data with greek characters using psql environment