|
1 |
| -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.65 2001/08/14 22:21:58 tgl Exp $ --> |
| 1 | +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.66 2001/08/15 07:10:12 ishii Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="functions">
|
4 | 4 | <title>Functions and Operators</title>
|
|
929 | 929 | <entry>A</entry>
|
930 | 930 | </row>
|
931 | 931 |
|
| 932 | + <row> |
| 933 | + <entry>convert(<parameter>string</parameter> <type>text</type>, |
| 934 | + [<parameter>src_encoding</parameter> <type>name</type>,] |
| 935 | + <parameter>dest_encoding</parameter> <type>name</type>)</entry> |
| 936 | + <entry><type>text</type></entry> |
| 937 | + <entry>Converts string using <parameter>dest_encoding</parameter>. |
| 938 | + The original encoding is specified by <parameter>src_encoding</parameter>. |
| 939 | + If <parameter>src_encoding</parameter> is omitted, database encoding |
| 940 | + is assumed. |
| 941 | + </entry> |
| 942 | + <entry>convert('text_in_unicode','UNICODE','LATIN1')</entry> |
| 943 | + <entry>text_in_unicode (represented in ISO-8859-1)</entry> |
| 944 | + </row> |
| 945 | + |
932 | 946 | <row>
|
933 | 947 | <entry>initcap(<type>text</type>)</entry>
|
934 | 948 | <entry><type>text</type></entry>
|
|