agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Vinayak <vinpokale@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: Octal to UTF-8
Date: Thu, 9 Jul 2015 02:35:19 -0700 (MST)
Message-ID: <1436434519739-5857342.post@n5.nabble.com> (raw)
In-Reply-To: <4B4E89127868BD458A795430BCF4FD1328DAB2CD@DVZSN-RA0325.bk.dvz-mv.net>
References: <4B4E89127868BD458A795430BCF4FD1328DAB2CD@DVZSN-RA0325.bk.dvz-mv.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Hi,

>I wont to convert "f\303\274r" INTO "für" or "m\303\266chte" into "möchte"! 
The below function might be useful.
postgres=# select convert_from('f\303\274r','UTF8');
 convert_from 
--------------
 für
(1 row)

postgres=# select convert_from('m\303\266chte','UTF8');
 convert_from 
--------------
 möchte
(1 row)
Regards,
Vinayak



-----
Regards,
Vinayak,

--
View this message in context: http://postgresql.nabble.com/Octal-to-UTF-8-tp5857341p5857342.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (2+ messages)

Message-ID: <1436434519739-5857342.post@n5.nabble.com>
Permalink:  ../1436434519739-5857342.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1436434519739-5857342.post@n5.nabble.com

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: vinpokale@gmail.com
  Subject: Re: Octal to UTF-8
  In-Reply-To: <1436434519739-5857342.post@n5.nabble.com>

* 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