Skip to content

Commit 397f65d

Browse files
committed
Add convert.
1 parent ab9b6c4 commit 397f65d

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

doc/src/sgml/func.sgml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -929,6 +929,20 @@
929929
<entry>A</entry>
930930
</row>
931931

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+
932946
<row>
933947
<entry>initcap(<type>text</type>)</entry>
934948
<entry><type>text</type></entry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy