Doc: rearrange the documentation of binary-string functions.
Rather than intermixing the discussion of text-string and binary-string functions, make a clean break, moving all discussion of binary-string operations into section 9.5. This involves some duplication of function descriptions between 9.4 and 9.5, but it seems cleaner on the whole since the individual descriptions are clearer (and on the other side of the coin, it gets rid of some duplicated descriptions, too). Move the convert*/encode/decode functions to a separate table, because they don't quite seem to fit under the heading of "binary string functions". Also provide full documentation of the textual formats supported by encode() and decode() (which was the original goal of this patch series, many moons ago). Also move the table of built-in encoding conversions out of section 9.4, where it no longer had any relevance whatsoever, and put it into section 23.3 about character sets. I chose to put both that and table 23.2 (multibyte-translation-table) into a new <sect2> so as not to break up the flow of discussion in 23.3.3. Also do a bunch of minor copy-editing on the function descriptions in 9.4 and 9.5. Karl Pinc, reviewed by Fabien Coelho, further hacking by me Discussion: https://postgr.es/m/20190304163347.7bca4897@slate.meme.com
This commit is contained in:
parent
41aadeeb12
commit
34a0a81bfb
|
@ -1495,17 +1495,134 @@ $ <userinput>psql -l</userinput>
|
|||
<title>Automatic Character Set Conversion Between Server and Client</title>
|
||||
|
||||
<para>
|
||||
<productname>PostgreSQL</productname> supports automatic
|
||||
character set conversion between server and client for certain
|
||||
character set combinations. The conversion information is stored in the
|
||||
<literal>pg_conversion</literal> system catalog. <productname>PostgreSQL</productname>
|
||||
comes with some predefined conversions, as shown in <xref
|
||||
linkend="multibyte-translation-table"/>. You can create a new
|
||||
conversion using the SQL command <command>CREATE CONVERSION</command>.
|
||||
<productname>PostgreSQL</productname> supports automatic character
|
||||
set conversion between server and client for many combinations of
|
||||
character sets (<xref linkend="multibyte-conversions-supported"/>
|
||||
shows which ones).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To enable automatic character set conversion, you have to
|
||||
tell <productname>PostgreSQL</productname> the character set
|
||||
(encoding) you would like to use in the client. There are several
|
||||
ways to accomplish this:
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Using the <command>\encoding</command> command in
|
||||
<application>psql</application>.
|
||||
<command>\encoding</command> allows you to change client
|
||||
encoding on the fly. For
|
||||
example, to change the encoding to <literal>SJIS</literal>, type:
|
||||
|
||||
<programlisting>
|
||||
\encoding SJIS
|
||||
</programlisting>
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
<application>libpq</application> (<xref linkend="libpq-control"/>) has functions to control the client encoding.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Using <command>SET client_encoding TO</command>.
|
||||
|
||||
Setting the client encoding can be done with this SQL command:
|
||||
|
||||
<programlisting>
|
||||
SET CLIENT_ENCODING TO '<replaceable>value</replaceable>';
|
||||
</programlisting>
|
||||
|
||||
Also you can use the standard SQL syntax <literal>SET NAMES</literal>
|
||||
for this purpose:
|
||||
|
||||
<programlisting>
|
||||
SET NAMES '<replaceable>value</replaceable>';
|
||||
</programlisting>
|
||||
|
||||
To query the current client encoding:
|
||||
|
||||
<programlisting>
|
||||
SHOW client_encoding;
|
||||
</programlisting>
|
||||
|
||||
To return to the default encoding:
|
||||
|
||||
<programlisting>
|
||||
RESET client_encoding;
|
||||
</programlisting>
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Using <envar>PGCLIENTENCODING</envar>. If the environment variable
|
||||
<envar>PGCLIENTENCODING</envar> is defined in the client's
|
||||
environment, 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.)
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Using the configuration variable <xref
|
||||
linkend="guc-client-encoding"/>. If the
|
||||
<varname>client_encoding</varname> variable 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.)
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If the conversion of a particular character is not possible
|
||||
— suppose you chose <literal>EUC_JP</literal> for the
|
||||
server and <literal>LATIN1</literal> for the client, and some
|
||||
Japanese characters are returned that do not have a representation in
|
||||
<literal>LATIN1</literal> — an error is reported.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If the client character set is defined as <literal>SQL_ASCII</literal>,
|
||||
encoding conversion is disabled, regardless of the server's character
|
||||
set. (However, if the server's character set is
|
||||
not <literal>SQL_ASCII</literal>, the server will still check that
|
||||
incoming data is valid for that encoding; so the net effect is as
|
||||
though the client character set were the same as the server's.)
|
||||
Just as for the server, use of <literal>SQL_ASCII</literal> is unwise
|
||||
unless you are working with all-ASCII data.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="multibyte-conversions-supported">
|
||||
<title>Available Character Set Conversions</title>
|
||||
|
||||
<para>
|
||||
<productname>PostgreSQL</productname> allows conversion between any
|
||||
two character sets for which a conversion function is listed in the
|
||||
<link linkend="catalog-pg-conversion"><structname>pg_conversion</structname></link>
|
||||
system catalog. <productname>PostgreSQL</productname> comes with
|
||||
some predefined conversions, as summarized in
|
||||
<xref linkend="multibyte-translation-table"/> and shown in more
|
||||
detail in <xref linkend="builtin-conversions-table"/>. You can
|
||||
create a new conversion using the SQL command
|
||||
<xref linkend="sql-createconversion"/>. (To be used for automatic
|
||||
client/server conversions, a conversion must be marked
|
||||
as <quote>default</quote> for its character set pair.)
|
||||
</para>
|
||||
|
||||
<table id="multibyte-translation-table">
|
||||
<title>Client/Server Character Set Conversions</title>
|
||||
<title>Built-in Client/Server Character Set Conversions</title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
|
@ -1802,107 +1919,653 @@ $ <userinput>psql -l</userinput>
|
|||
</tgroup>
|
||||
</table>
|
||||
|
||||
<table id="builtin-conversions-table">
|
||||
<title>All Built-in Character Set Conversions</title>
|
||||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Conversion Name
|
||||
<footnote>
|
||||
<para>
|
||||
To enable automatic character set conversion, you have to
|
||||
tell <productname>PostgreSQL</productname> the character set
|
||||
(encoding) you would like to use in the client. There are several
|
||||
ways to accomplish this:
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Using the <command>\encoding</command> command in
|
||||
<application>psql</application>.
|
||||
<command>\encoding</command> allows you to change client
|
||||
encoding on the fly. For
|
||||
example, to change the encoding to <literal>SJIS</literal>, type:
|
||||
|
||||
<programlisting>
|
||||
\encoding SJIS
|
||||
</programlisting>
|
||||
The conversion names follow a standard naming scheme: The
|
||||
official name of the source encoding with all
|
||||
non-alphanumeric characters replaced by underscores, followed
|
||||
by <literal>_to_</literal>, followed by the similarly processed
|
||||
destination encoding name. Therefore, these names sometimes
|
||||
deviate from the customary encoding names shown in
|
||||
<xref linkend="charset-table"/>.
|
||||
</para>
|
||||
</listitem>
|
||||
</footnote>
|
||||
</entry>
|
||||
<entry>Source Encoding</entry>
|
||||
<entry>Destination Encoding</entry>
|
||||
</row>
|
||||
</thead>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
<application>libpq</application> (<xref linkend="libpq-control"/>) has functions to control the client encoding.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Using <command>SET client_encoding TO</command>.
|
||||
|
||||
Setting the client encoding can be done with this SQL command:
|
||||
|
||||
<programlisting>
|
||||
SET CLIENT_ENCODING TO '<replaceable>value</replaceable>';
|
||||
</programlisting>
|
||||
|
||||
Also you can use the standard SQL syntax <literal>SET NAMES</literal>
|
||||
for this purpose:
|
||||
|
||||
<programlisting>
|
||||
SET NAMES '<replaceable>value</replaceable>';
|
||||
</programlisting>
|
||||
|
||||
To query the current client encoding:
|
||||
|
||||
<programlisting>
|
||||
SHOW client_encoding;
|
||||
</programlisting>
|
||||
|
||||
To return to the default encoding:
|
||||
|
||||
<programlisting>
|
||||
RESET client_encoding;
|
||||
</programlisting>
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Using <envar>PGCLIENTENCODING</envar>. If the environment variable
|
||||
<envar>PGCLIENTENCODING</envar> is defined in the client's
|
||||
environment, 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.)
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Using the configuration variable <xref
|
||||
linkend="guc-client-encoding"/>. If the
|
||||
<varname>client_encoding</varname> variable 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.)
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If the conversion of a particular character is not possible
|
||||
— suppose you chose <literal>EUC_JP</literal> for the
|
||||
server and <literal>LATIN1</literal> for the client, and some
|
||||
Japanese characters are returned that do not have a representation in
|
||||
<literal>LATIN1</literal> — an error is reported.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If the client character set is defined as <literal>SQL_ASCII</literal>,
|
||||
encoding conversion is disabled, regardless of the server's character
|
||||
set. (However, if the server's character set is
|
||||
not <literal>SQL_ASCII</literal>, the server will still check that
|
||||
incoming data is valid for that encoding; so the net effect is as
|
||||
though the client character set were the same as the server's.)
|
||||
Just as for the server, use of <literal>SQL_ASCII</literal> is unwise
|
||||
unless you are working with all-ASCII data.
|
||||
</para>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><literal>big5_to_euc_tw</literal></entry>
|
||||
<entry><literal>BIG5</literal></entry>
|
||||
<entry><literal>EUC_TW</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>big5_to_mic</literal></entry>
|
||||
<entry><literal>BIG5</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>big5_to_utf8</literal></entry>
|
||||
<entry><literal>BIG5</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_cn_to_mic</literal></entry>
|
||||
<entry><literal>EUC_CN</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_cn_to_utf8</literal></entry>
|
||||
<entry><literal>EUC_CN</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_jp_to_mic</literal></entry>
|
||||
<entry><literal>EUC_JP</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_jp_to_sjis</literal></entry>
|
||||
<entry><literal>EUC_JP</literal></entry>
|
||||
<entry><literal>SJIS</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_jp_to_utf8</literal></entry>
|
||||
<entry><literal>EUC_JP</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_kr_to_mic</literal></entry>
|
||||
<entry><literal>EUC_KR</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_kr_to_utf8</literal></entry>
|
||||
<entry><literal>EUC_KR</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_tw_to_big5</literal></entry>
|
||||
<entry><literal>EUC_TW</literal></entry>
|
||||
<entry><literal>BIG5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_tw_to_mic</literal></entry>
|
||||
<entry><literal>EUC_TW</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_tw_to_utf8</literal></entry>
|
||||
<entry><literal>EUC_TW</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>gb18030_to_utf8</literal></entry>
|
||||
<entry><literal>GB18030</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>gbk_to_utf8</literal></entry>
|
||||
<entry><literal>GBK</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_10_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN6</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_13_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN7</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_14_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN8</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_15_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN9</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_16_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN10</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_1_to_mic</literal></entry>
|
||||
<entry><literal>LATIN1</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_1_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN1</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_2_to_mic</literal></entry>
|
||||
<entry><literal>LATIN2</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_2_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN2</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_2_to_windows_1250</literal></entry>
|
||||
<entry><literal>LATIN2</literal></entry>
|
||||
<entry><literal>WIN1250</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_3_to_mic</literal></entry>
|
||||
<entry><literal>LATIN3</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_3_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN3</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_4_to_mic</literal></entry>
|
||||
<entry><literal>LATIN4</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_4_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN4</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_5_to_koi8_r</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_5_to_mic</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_5_to_utf8</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_5_to_windows_1251</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_5_to_windows_866</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_6_to_utf8</literal></entry>
|
||||
<entry><literal>ISO_8859_6</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_7_to_utf8</literal></entry>
|
||||
<entry><literal>ISO_8859_7</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_8_to_utf8</literal></entry>
|
||||
<entry><literal>ISO_8859_8</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>iso_8859_9_to_utf8</literal></entry>
|
||||
<entry><literal>LATIN5</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>johab_to_utf8</literal></entry>
|
||||
<entry><literal>JOHAB</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>koi8_r_to_iso_8859_5</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>koi8_r_to_mic</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>koi8_r_to_utf8</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>koi8_r_to_windows_1251</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>koi8_r_to_windows_866</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>koi8_u_to_utf8</literal></entry>
|
||||
<entry><literal>KOI8U</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_big5</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>BIG5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_euc_cn</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>EUC_CN</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_euc_jp</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>EUC_JP</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_euc_kr</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>EUC_KR</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_euc_tw</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>EUC_TW</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_iso_8859_1</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>LATIN1</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_iso_8859_2</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>LATIN2</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_iso_8859_3</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>LATIN3</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_iso_8859_4</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>LATIN4</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_iso_8859_5</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_koi8_r</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_sjis</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>SJIS</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_windows_1250</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>WIN1250</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_windows_1251</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>mic_to_windows_866</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>sjis_to_euc_jp</literal></entry>
|
||||
<entry><literal>SJIS</literal></entry>
|
||||
<entry><literal>EUC_JP</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>sjis_to_mic</literal></entry>
|
||||
<entry><literal>SJIS</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>sjis_to_utf8</literal></entry>
|
||||
<entry><literal>SJIS</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1258_to_utf8</literal></entry>
|
||||
<entry><literal>WIN1258</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>uhc_to_utf8</literal></entry>
|
||||
<entry><literal>UHC</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_big5</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>BIG5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_euc_cn</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>EUC_CN</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_euc_jp</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>EUC_JP</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_euc_kr</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>EUC_KR</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_euc_tw</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>EUC_TW</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_gb18030</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>GB18030</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_gbk</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>GBK</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_1</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN1</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_10</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN6</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_13</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN7</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_14</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_15</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN9</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_16</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN10</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_2</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN2</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_3</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN3</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_4</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN4</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_5</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_6</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>ISO_8859_6</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_7</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>ISO_8859_7</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_8</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>ISO_8859_8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_iso_8859_9</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>LATIN5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_johab</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>JOHAB</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_koi8_r</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_koi8_u</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>KOI8U</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_sjis</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>SJIS</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1258</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1258</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_uhc</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>UHC</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1250</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1250</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1251</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1252</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1252</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1253</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1253</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1254</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1254</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1255</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1255</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1256</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1256</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_1257</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN1257</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_866</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_windows_874</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>WIN874</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1250_to_iso_8859_2</literal></entry>
|
||||
<entry><literal>WIN1250</literal></entry>
|
||||
<entry><literal>LATIN2</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1250_to_mic</literal></entry>
|
||||
<entry><literal>WIN1250</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1250_to_utf8</literal></entry>
|
||||
<entry><literal>WIN1250</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1251_to_iso_8859_5</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1251_to_koi8_r</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1251_to_mic</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1251_to_utf8</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1251_to_windows_866</literal></entry>
|
||||
<entry><literal>WIN1251</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1252_to_utf8</literal></entry>
|
||||
<entry><literal>WIN1252</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_1256_to_utf8</literal></entry>
|
||||
<entry><literal>WIN1256</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_866_to_iso_8859_5</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
<entry><literal>ISO_8859_5</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_866_to_koi8_r</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
<entry><literal>KOI8R</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_866_to_mic</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
<entry><literal>MULE_INTERNAL</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_866_to_utf8</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_866_to_windows_1251</literal></entry>
|
||||
<entry><literal>WIN866</literal></entry>
|
||||
<entry><literal>WIN</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>windows_874_to_utf8</literal></entry>
|
||||
<entry><literal>WIN874</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_jis_2004_to_utf8</literal></entry>
|
||||
<entry><literal>EUC_JIS_2004</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_euc_jis_2004</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>EUC_JIS_2004</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>shift_jis_2004_to_utf8</literal></entry>
|
||||
<entry><literal>SHIFT_JIS_2004</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>utf8_to_shift_jis_2004</literal></entry>
|
||||
<entry><literal>UTF8</literal></entry>
|
||||
<entry><literal>SHIFT_JIS_2004</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>euc_jis_2004_to_shift_jis_2004</literal></entry>
|
||||
<entry><literal>EUC_JIS_2004</literal></entry>
|
||||
<entry><literal>SHIFT_JIS_2004</literal></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>shift_jis_2004_to_euc_jis_2004</literal></entry>
|
||||
<entry><literal>SHIFT_JIS_2004</literal></entry>
|
||||
<entry><literal>EUC_JIS_2004</literal></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue