Character Set Encodings
LATIN8>, and LATIN10>.
+
- Here is an example of configuring
-
PostgreSQL to use a Japanese encoding by
- default:
-
-
-$ ./configure --enable-multibyte=EUC_JP
-
-
-
- If the encoding system is omitted (./configure --enable-multibyte),
- SQL_ASCII> is assumed.
-
-
-
Setting the Encoding
sets the default encoding to EUC_JP (Extended Unix Code for Japanese).
Note that you can use instead of if you prefer
to type longer option strings.
- If no option is given, the encoding
- specified at configure time is used.
+ If no option is
+ given, SQL_ASCII is used.
-
Automatic encoding translation between server and
+
Automatic encoding conversion between server and
client
PostgreSQL supports an automatic
- encoding translation between server
- and client for some encodings. The available combinations are
- listed in .
+ encoding conversion between server and client for some
+ encodings. The conversion info is stored in pg_converson system
+ catalog. You can create a new conversion by using CREATE
+ CONVERSION. PostgreSQL comes with some predefined
+ conversions. They are listed in
+ linkend="multibyte-translation-table">.
be overridden using any of the other methods mentioned above.)
+
+
+ Using client_encoding variable.
+
+ If client_encoding variable in postgresql.conf is set, that
+ client encoding is automatically selected when a connection to the
+ server is made. (This can subsequently be overridden using any of the
+ other methods mentioned above.)
+
+
+
The Unicode conversion functionality is automatically enabled
if is specified.
+ For 7.3, nor
+ is needed.
+