BUG #7617: Encoding Behavior

From: corekms(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7617: Encoding Behavior
Date: 2012-10-22 09:40:57
Message-ID: E1TQEVF-00084e-Nv@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 7617
Logged by: Kim, min-sirk
Email address: corekms(at)gmail(dot)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.

Browse pgsql-bugs by date

  From Date Subject
Next Message lukasw44 2012-10-22 22:00:58 BUG #7618: Problem with install postgreSQL 9.2
Previous Message obasan 2012-10-22 09:16:06 BUG #7616: -E parameter doesn't override template values.