pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Beena Emerson <memissemerson@gmail.com>
To: Amit Langote <amitlangote09@gmail.com>
Cc: pgsql-sql@postgresql.org, "pgsql-novice@postgresql.org" <pgsql-novice@postgresql.org>
Subject: Re: [NOVICE] Understanding Encoding
Date: Fri, 6 Sep 2013 12:17:48 +0530
Message-ID: <CAOG9ApEYnOc2RT_v040_paC3rm2riy=0xaVZED54KTs8dbv0fQ@mail.gmail.com> (raw)
In-Reply-To: <CA+HiwqFcc5YDnKnsVxhTemKsG0ytynPBUn6+qT9bWvjQoEZRpA@mail.gmail.com>
References: <CAOG9ApGQ3s5g3Okm3xAmsUWXnUiD8gt+-5taz=YKdJGPm4TFsg@mail.gmail.com>
	<CA+HiwqFcc5YDnKnsVxhTemKsG0ytynPBUn6+qT9bWvjQoEZRpA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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

view thread (10+ messages)  latest in thread

Message-ID: <CAOG9ApEYnOc2RT_v040_paC3rm2riy=0xaVZED54KTs8dbv0fQ@mail.gmail.com>
Permalink:  ../CAOG9ApEYnOc2RT_v040_paC3rm2riy=0xaVZED54KTs8dbv0fQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAOG9ApEYnOc2RT_v040_paC3rm2riy=0xaVZED54KTs8dbv0fQ@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: memissemerson@gmail.com, amitlangote09@gmail.com, pgsql-novice@postgresql.org
  Subject: Re: [NOVICE] Understanding Encoding
  In-Reply-To: <CAOG9ApEYnOc2RT_v040_paC3rm2riy=0xaVZED54KTs8dbv0fQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox