Re: Multibyte examples - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Multibyte examples
Date
Msg-id 20010221095954V.t-ishii@sra.co.jp
Whole thread Raw
List pgsql-hackers
From: "Jeff Lu" <jklcom@mindspring.com>
Subject: Multibyte examples
Date: Tue, 20 Mar 2001 12:38:26 -0500
Message-ID: <NDBBIHPECLIGKCCLMACAEEPDCJAA.jklcom@mindspring.com>

> Tatsuo Ishii
> 
> I've finally got the envirnoment set up to work with PostgreSQL, cygwin on
> NT
> 
> Couldn't the regression test to run.
> 
> When tried
> % mbregress.sh
> 
> I got lots of errors

What kind of errors did you get exactly?

> I want to see some examples on multibytes.
> I'm trying to write a CGI program that will gather user info from a form
> through HTTP Request. The information may contain Chinese Characters.  The
> result will be written to PostgreSQL.
> 
> Do you have any examples like this?

I'm not sure what kind of encodings you are talking about when you say
"Chinese Chinese". Anyway you will find some examples:

Big5:     src/test/mb/big5.sql
EUC_CN:     src/test/mb/euc_cn.sql
EUC_TW:     src/test/mb/euc_tw.sql
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: File header
Next
From: Hiroshi Inoue
Date:
Subject: Re: Re: [ADMIN] v7.1b4 bad performance