pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: corekms@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7617: Encoding Behavior
Date: Mon, 22 Oct 2012 09:40:57 +0000
Message-ID: <E1TQEVF-00084e-Nv@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      7617
Logged by:          Kim, min-sirk
Email address:      corekms@gmail.com
PostgreSQL version: 9.1.6
Operating system:   CentOS release 5.8(Red Hat 4.1.2-52), 32-bit
Description:        

What I did is..

1. initdb -D $PGDATA -E EUC_KR
2. create database euckrdb;
3. create database utf8db with 
encoding='utf8' lc_collate='ko_KR.utf8' lc_ctype='ko_KR.utf8' template
template0;

-- I know that EUC_KR has 2bytes per 1 korean char and UTF-8 has 3 bytes
utf8db per 1 korean char. However, Two databases has same octet_length of 2
bytes per 1 Korean char. 








Message-ID: <E1TQEVF-00084e-Nv@wrigleys.postgresql.org>
Permalink:  ../E1TQEVF-00084e-Nv@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1TQEVF-00084e-Nv@wrigleys.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: corekms@gmail.com
  Subject: Re: BUG #7617: Encoding Behavior
  In-Reply-To: <E1TQEVF-00084e-Nv@wrigleys.postgresql.org>
  References: <E1TQEVF-00084e-Nv@wrigleys.postgresql.org>

* 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