Re: [NOVICE] Understanding Encoding - Mailing list pgsql-sql

From Beena Emerson
Subject Re: [NOVICE] Understanding Encoding
Date
Msg-id CAOG9ApEYnOc2RT_v040_paC3rm2riy=0xaVZED54KTs8dbv0fQ@mail.gmail.com
Whole thread Raw
In response to Re: [NOVICE] Understanding Encoding  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: [NOVICE] Understanding Encoding
Re: [NOVICE] Understanding Encoding
List 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

pgsql-sql by date:

Previous
From: Amit Langote
Date:
Subject: Re: [NOVICE] Understanding Encoding
Next
From: Tom Lane
Date:
Subject: Re: [NOVICE] Understanding Encoding