Re: [NOVICE] Understanding Encoding

From: Beena Emerson <memissemerson(at)gmail(dot)com>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: [NOVICE] Understanding Encoding
Date: 2013-09-06 06:47:48
Message-ID: CAOG9ApEYnOc2RT_v040_paC3rm2riy=0xaVZED54KTs8dbv0fQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

>
> I wonder if you have tried changing your "locale" to ko_KR; something like:
>
> LANG=ko_KR LC_ALL=ko_KR \
> psql -d korean
>
>
Hi,

It still gives same result:

$ LANG=ko_KR LC_ALL=ko_KR
$ psql -d korean

korean=# SHOW client_encoding;
client_encoding
-----------------
EUC_KR
(1 row)

korean=# INSERT INTO tbl VALUES ('그레스');
ERROR: invalid byte sequence for encoding "EUC_KR": 0xa0 0x88

Beena Emerson

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2013-09-06 06:59:29 Re: [SQL] Understanding Encoding
Previous Message Amit Langote 2013-09-06 06:37:04 Re: [NOVICE] Understanding Encoding

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2013-09-06 06:59:29 Re: [SQL] Understanding Encoding
Previous Message Amit Langote 2013-09-06 06:37:04 Re: [NOVICE] Understanding Encoding