Commit 4893eadc authored by Bruce Momjian's avatar Bruce Momjian

Remove tabs from SGML file.

parent 55613bf9
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.396 2007/09/18 17:41:16 adunstan Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.397 2007/09/19 03:13:57 momjian Exp $ -->
<chapter id="functions"> <chapter id="functions">
<title>Functions and Operators</title> <title>Functions and Operators</title>
...@@ -1327,10 +1327,10 @@ ...@@ -1327,10 +1327,10 @@
<entry><literal><function>ascii</function>(<parameter>string</parameter>)</literal></entry> <entry><literal><function>ascii</function>(<parameter>string</parameter>)</literal></entry>
<entry><type>int</type></entry> <entry><type>int</type></entry>
<entry> <entry>
<acronym>ASCII</acronym> code of the first character of the argument. <acronym>ASCII</acronym> code of the first character of the
For <acronym>UTF8</acronym> returns the Unicode code point of the character. argument. For <acronym>UTF8</acronym> returns the Unicode code
For other multi-byte encodings. the argument must be a strictly point of the character. For other multi-byte encodings. the
<acronym>ASCII</acronym> character. argument must be a strictly <acronym>ASCII</acronym> character.
</entry> </entry>
<entry><literal>ascii('x')</literal></entry> <entry><literal>ascii('x')</literal></entry>
<entry><literal>120</literal></entry> <entry><literal>120</literal></entry>
...@@ -1353,9 +1353,10 @@ ...@@ -1353,9 +1353,10 @@
<entry><literal><function>chr</function>(<type>int</type>)</literal></entry> <entry><literal><function>chr</function>(<type>int</type>)</literal></entry>
<entry><type>text</type></entry> <entry><type>text</type></entry>
<entry> <entry>
Character with the given code. For <acronym>UTF8</acronym> the argument is Character with the given code. For <acronym>UTF8</acronym> the
treated as a Unicode code point. For other multi-byte encodings the argument argument is treated as a Unicode code point. For other multi-byte
must designate a strictly <acronym>ASCII</acronym> character. encodings the argument must designate a strictly
<acronym>ASCII</acronym> character.
</entry> </entry>
<entry><literal>chr(65)</literal></entry> <entry><literal>chr(65)</literal></entry>
<entry><literal>A</literal></entry> <entry><literal>A</literal></entry>
...@@ -1369,10 +1370,10 @@ ...@@ -1369,10 +1370,10 @@
</entry> </entry>
<entry><type>bytea</type></entry> <entry><type>bytea</type></entry>
<entry> <entry>
Convert string to <parameter>dest_encoding</parameter>. Convert string to <parameter>dest_encoding</parameter>. The
The original encoding is specified by original encoding is specified by
<parameter>src_encoding</parameter>. The <parameter>string</parameter> <parameter>src_encoding</parameter>. The
must be valid in this encoding. <parameter>string</parameter> must be valid in this encoding.
</entry> </entry>
<entry><literal>convert( 'text_in_utf8', 'UTF8', 'LATIN1')</literal></entry> <entry><literal>convert( 'text_in_utf8', 'UTF8', 'LATIN1')</literal></entry>
<entry><literal>text_in_utf8</literal> represented in ISO 8859-1 encoding</entry> <entry><literal>text_in_utf8</literal> represented in ISO 8859-1 encoding</entry>
...@@ -1385,10 +1386,9 @@ ...@@ -1385,10 +1386,9 @@
</entry> </entry>
<entry><type>text</type></entry> <entry><type>text</type></entry>
<entry> <entry>
Convert string to the database encoding. Convert string to the database encoding. The original encoding
The original encoding is specified by is specified by <parameter>src_encoding</parameter>. The
<parameter>src_encoding</parameter>. The <parameter>string</parameter> <parameter>string</parameter> must be valid in this encoding.
must be valid in this encoding.
</entry> </entry>
<entry><literal>convert_from( 'text_in_utf8', 'UTF8')</literal></entry> <entry><literal>convert_from( 'text_in_utf8', 'UTF8')</literal></entry>
<entry><literal>text_in_utf8</literal> represented in the current database encoding</entry> <entry><literal>text_in_utf8</literal> represented in the current database encoding</entry>
...@@ -1464,9 +1464,9 @@ ...@@ -1464,9 +1464,9 @@
<parameter>encoding</parameter> <type>name</type> )</literal></entry> <parameter>encoding</parameter> <type>name</type> )</literal></entry>
<entry><type>int</type></entry> <entry><type>int</type></entry>
<entry> <entry>
Number of characters in <parameter>string</parameter> in the Number of characters in <parameter>string</parameter> in the given
given <parameter>encoding</parameter>. The <parameter>encoding</parameter>. The <parameter>string</parameter>
<parameter>string</parameter> must be valid in this encoding. must be valid in this encoding.
</entry> </entry>
<entry><literal>length('jose', 'UTF8')</literal></entry> <entry><literal>length('jose', 'UTF8')</literal></entry>
<entry><literal>4</literal></entry> <entry><literal>4</literal></entry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment