From: Tatsuo Ishii Date: Wed, 15 Aug 2001 07:10:12 +0000 (+0000) Subject: Add convert. X-Git-Tag: REL7_2_BETA1~702 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=397f65d102b7f9998411f2a8c2d1c66dfe712320;p=postgresql Add convert. --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 6bb793a9c8..9423e524fe 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -929,6 +929,20 @@ A + + convert(string text, + [src_encoding name,] + dest_encoding name) + text + Converts string using dest_encoding. + The original encoding is specified by src_encoding. + If src_encoding is omitted, database encoding + is assumed. + + convert('text_in_unicode','UNICODE','LATIN1') + text_in_unicode (represented in ISO-8859-1) + + initcap(text) text