From: Ian Barwick <barwick@gmx.net>
To: pgsql-docs@postgresql.org <pgsql-docs@postgresql.org>
Subject: Function ascii(text) character -> byte
Date: Thu, 2 Mar 2006 17:54:59 +0100
Message-ID: <200603021754.59986.barwick@gmx.net> (raw)
Hi
in the docs, the function "ascii(text)" is described as
returning "ASCII code of the first character of the argument"
(see http://www.postgresql.org/docs/8.1/interactive/functions-string.html,
Table 9-6. "Other String Functions").
Presumably this should read "ASCII code of the first byte of the argument",
which is what is returned when the argument is a multi-byte character
(although then with UTF-8 at least that might not necessarily be an ASCII
code).
Regards
Ian Barwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: barwick@gmx.net
Subject: Re: Function ascii(text) character -> byte
In-Reply-To: <200603021754.59986.barwick@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox