summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc G. Fournier1998-03-15 07:39:04 +0000
committerMarc G. Fournier1998-03-15 07:39:04 +0000
commit661ecf3c48e16a9add216287eb969d7615e47968 (patch)
tree91b54d5905aa2e22bd0ae9ea8c6b0f3cab75d3f4 /doc
parent31a925c4d07675bc098a742ee9ca642ec79a40ee (diff)
From: t-ishii@sra.co.jp
Included are patches intended for allowing PostgreSQL to handle multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and Mule internal code. With the MB patch you can use multi-byte character sets in regexp and LIKE. The encoding system chosen is determined at the compile time. To enable the MB extension, you need to define a variable "MB" in Makefile.global or in Makefile.custom. For further information please take a look at README.mb under doc directory. (Note that unlike "jp patch" I do not use modified GNU regexp any more. I changed Henry Spencer's regexp coming with PostgreSQL.)
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile4
-rw-r--r--doc/README.mb67
-rw-r--r--doc/README.mb.jp106
3 files changed, 175 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index c487b11f738..8642dc4b5f5 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -8,11 +8,11 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/doc/Makefile,v 1.4 1998/03/01 20:37:44 thomas Exp $
+# $Header: /cvsroot/pgsql/doc/Makefile,v 1.5 1998/03/15 07:37:51 scrappy Exp $
#
#----------------------------------------------------------------------------
-PGDOCS= .
+PGDOCS= /usr/local/cdrom/docs
SRCDIR= ../src
TAR= tar
diff --git a/doc/README.mb b/doc/README.mb
new file mode 100644
index 00000000000..d6ff7e569b1
--- /dev/null
+++ b/doc/README.mb
@@ -0,0 +1,67 @@
+postgresql 6.3 multi-byte(MB) patch PL2 README Mar 10 1998
+
+ Tatsuo Ishii
+ t-ishii@sra.co.jp
+ http://www.sra.co.jp/people/t-ishii/PostgreSQL/
+
+Introduction
+
+MB patch is intended for allowing PostgreSQL to handle multi-byte
+charachter sets such as EUC(Extende Unix Code), Unicode and Mule
+internal code. With the MB patch you can use multi-byte character sets
+in regexp and LIKE. The encoding system chosen is determined at the
+compile time.
+
+The patch also fixes some problems concerning with 8-bit single byte
+character sets including ISO8859. (I would not say all of problems
+have been fixed. I just confirmed that the regression test ran fine
+and a few French characters could be used with the patch. Please let
+me know if you find any problem while using 8-bit characters)
+
+How to use
+
+After applying the MB patch, create src/Makefile.custom with a line
+including:
+
+MB=encoding_system
+
+where encoding_system is one of:
+
+EUC_JP Japanese EUC
+EUC_CN Chinese EUC
+EUC_KR Korean EUC
+EUC_TW Taiwan EUC
+UNICODE Unicode(UTF-8)
+MULE_INTERNAL Mule internal
+
+Example:
+
+% cat Makefile.custom
+MB=EUC_JP
+
+If MB is not defined, nothing is changed except better supporting for
+8-bit single byte character sets.
+
+References
+
+These are good sources to start learning various kind of encoding
+systems.
+
+ftp://ftp.ora.com/pub/examples/nutshell/ujip/doc/cjk.inf
+ Detailed explanations of EUC_JP, EUC_CN, EUC_KR, EUC_TW
+ appear in section 3.2.
+
+Unicode: http://www.unicode.org/
+ The homepage of UNICODE.
+
+ RFC 2044
+ UTF-8 is defined here.
+
+History
+
+Mar 10, 1998 PL2 released
+ * add regression test for EUC_JP, EUC_CN and MULE_INTERNAL
+ * add an English document (this file)
+ * fix problems concerning 8-bit single byte characters
+
+Mar 1, 1998 PL1 released
diff --git a/doc/README.mb.jp b/doc/README.mb.jp
new file mode 100644
index 00000000000..00375000b53
--- /dev/null
+++ b/doc/README.mb.jp
@@ -0,0 +1,106 @@
+postgresql 6.3 multi-byte (MB) patch PL2 README 1998/3/10 $B:n@.(B
+
+ $B@P0fC#IW(B
+ t-ishii@sra.co.jp
+ http://www.sra.co.jp/people/t-ishii/PostgreSQL/
+
+$B$O$8$a$K!'(B
+ $B$3$N%Q%C%A$O!"%U%j!<$J(B RDBMS(Relational Database Management System)$B$N(B
+ PostgreSQL (http://www.postgresql.org/)$B$N:G?7HG(B 6.3 $B$GF|K\8l(B EUC
+ $B$J$I!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org
+ $B$G$9!#(B
+
+$B$3$N%Q%C%A$NF~<jJ}K!!'(B
+
+ ftp://ftp.sra.co.jp/pub/cmd/postgres/6.3/patches/6.3mbPL2.patch.gz
+ $B$rF~<j$7$F2<$5$$!#(B
+
+$B%Q%C%A$N$"$F$+$?!'(B
+ $BF~<j$7$?%Q%C%A%U%!%$%k$rE83+$7$^$9!#(B
+
+ % gunzip 6.3mbPL2.patch.gz
+
+ postgresql-6.3 $B$N%=!<%9$rE83+$7$^$9!#(B
+
+ % gtar xfz postgresql-6.3.tar.gz
+
+ $B$9$k$H!"(Bpostgresql-6.3 $B$H$$$&%G%#%l%/%H%j$,$G$-$k$N$G!"$=$3$K(B
+ cd $B$7$^$9!#(B
+
+ % cd postgresql-6.3
+
+ $B%Q%C%A$rEv$F$^$9!#(B
+
+ % patch -p1 < 6.3mbPL2.patch
+
+ $B$H$7$F$"$F$F$/$@$5$$!#<!$K!"(Bsrc/Makefile.custom $B$H$$$&%U%!%$%k$r:n$j!"(B
+
+ MB=EUC_JP
+
+ $B$N(B 1 $B9T$rDI2C$7$^$9!#(BEUC_JP $B$r4^$a!"0J2<$N%3!<%I$,;XDj$G$-$^$9!#(B
+
+ EUC_JP $BF|K\8l(B EUC
+ EUC_CN GB $B$r%Y!<%9$K$7$?CfJ8(BEUC$B!#(Bcode set 2 $B$O(B
+ SS2+2$B%P%$%H%3!<%I(B = 3$B%P%$%HI=8=$G$9!#(B
+ EUC_KR $B4Z9q8l(B EUC$B!#(B
+ EUC_TW $BBfOQ$N(B EUC$B!#(Bcode set 2 $B$O(B
+ SS2+$BLLHV9f(B+2$B%P%$%H%3!<%I(B = 4$B%P%$%HI=8=$G$9!#(B
+ UNICODE UTF-8$B!#$?$@$7%5%]!<%H$9$k$N$O(B UCS-2 $B$NHO0O!"(B
+ $B$9$J$o$A(B 0xffff $B$^$G$G$9!#(B
+ MULE_INTERNAL mule $B$NFbIt%3!<%I!#$?$@$7!"(BType N $B$NITDjD9J8;z$O(B
+ $B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