agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Emi Lu <emilu@encs.concordia.ca>
To: pgsql-sql@postgresql.org
Subject: return encoding results
Date: Thu, 30 Oct 2014 13:37:54 -0400
Message-ID: <54527772.2080203@encs.concordia.ca> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<small>Hello, <br>
<br>
Does psql provide function that can return specific encoding
results? For example, <br>
<br>
select function_name('é', unicode); <br>
<br>
To return: \u00e9<br>
<br>
Thanks a lot!<br>
Emi<br>
--<br>
select function_name('</small><small><small>á</small>', unicode);
To return: </small><small><small>\u00e0<br>
... ...<br>
</small>á \u00e0 Á \u00c0<br>
à \u00e1 À \u00c1<br>
â \u00e2 Â \u00c2<br>
é \u00e9 É \u00c9<br>
è \u00e8 È \u00c8<br>
ê \u00ea Ê \u00ca<br>
î \u00ee Î \u00ce<br>
ç \u00e7 Ç \u00c7 <br>
</small>
</body>
</html>
view thread (2+ messages) latest in thread
Message-ID: <54527772.2080203@encs.concordia.ca>
Permalink: ../54527772.2080203@encs.concordia.ca/
Also on: postgresql.org/message-id/54527772.2080203@encs.concordia.ca
reply
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-sql@postgresql.org
Cc: emilu@encs.concordia.ca
Subject: Re: return encoding results
In-Reply-To: <54527772.2080203@encs.concordia.ca>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox