Included patches make some enhancements to the multi-byte support.
Bruce Momjian <bruce@momjian.us>
Included patches make some enhancements to the multi-byte support. o allow to use Big5 (a Chinese encoding used in Taiwan) as a client encoding. In this case the server side encoding should be EUC_TW o add EUC_TW and Big5 test cases to the regression and the mb test (contributed by Jonah Kuo) o fix mistake in include/mb/pg_wchar.h. An encoding id for EUC_TW was not correct (was 3 and now is 4) o update documents (doc/README.mb and README.mb.jp) o update psql helpfile (bin/psql/psqlHelp.h) -- Tatsuo Ishii t-ishii@sra.co.jp
Files
| Path | Change | +/− |
|---|---|---|
| doc/README.mb | modified | +8 −1 |
| doc/README.mb.jp | modified | +9 −2 |
| src/backend/utils/mb/big5.c | added | +347 −0 |
| src/backend/utils/mb/conv.c | modified | +90 −1 |
| src/backend/utils/mb/Makefile | modified | +3 −2 |
| src/backend/utils/mb/mbutils.c | modified | +2 −2 |
| src/backend/utils/mb/wchar.c | modified | +22 −2 |
| src/bin/psql/psqlHelp.h | modified | +2 −2 |
| src/include/mb/pg_wchar.h | modified | +5 −2 |
| src/interfaces/libpq/Makefile.in | modified | +6 −3 |
| src/test/mb/expected/big5.out | added | +84 −0 |
| src/test/mb/mbregress.sh | modified | +7 −2 |
| src/test/mb/sql/big5.sql | added | +20 −0 |