pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kornelije Rabuzin <krabuzin@foi.hr>
To: Benoît BOURNON <benoit.bournon@adelis.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Replace function ...
Date: Wed, 19 May 2004 19:30:18 +0200 (MEST)
Message-ID: <Pine.GSO.4.58.0405191927360.16794@barok.foi.hr> (raw)
In-Reply-To: <40AB35D3.2070602@adelis.com>
References: <009501c43c1f$63d39580$b103a8c0@krabuzin>
	<40AB35D3.2070602@adelis.com>


Thank you very much, but the database I'm using is not mine ....
that's why I cannot change anything ....

If I wont manage to write this replace function, I'll probably use this
solution ...

so thank you

best regards


R. K.

On Wed, 19 May 2004, [ISO-8859-1] Benoît BOURNON wrote:

> I try to reencode postgresql db ... all is running ... in your shell :
>
> - pg_dump db  -f fileout
>
> - iconv fileout i do not remember parameters but iconv converts the file.
>
> - createdb db -U unicode (for example)
>
> - pgsql db < fileout_converted
>
>
> We change previous year the encoding of this website : www.ape-europe.org
> 'iso' to 'utf8' for problems of eastern countries ...
> all is running ...
>
> maybe you can try ...
>
> Kornelije wrote:
>
> > Hi,
> >
> > I need to write a function which has to replace a character with two
> > or three other characters ....
> >
> > I have some data in the DB and when I retrieve this data, I have
> > sorting problems because I use specific Croatian characters ....
> > I know that the DB is not setup properly, but I cannot change anything
> > now because some data could be lost ....
> >
> > So I need to change specific Croatian characters with some other
> > standard characters in order to sort the data properly ....
> >
> > so, if anybody knows something or has such function, please, let me
> > know ....
> >
> > thanks
> >
> > R.K.
>
>



view thread (10+ messages)  latest in thread

Message-ID: <Pine.GSO.4.58.0405191927360.16794@barok.foi.hr>
Permalink:  ../Pine.GSO.4.58.0405191927360.16794@barok.foi.hr/
Also on:    postgresql.org/message-id/Pine.GSO.4.58.0405191927360.16794@barok.foi.hr

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: krabuzin@foi.hr, benoit.bournon@adelis.com
  Subject: Re: Replace function ...
  In-Reply-To: <Pine.GSO.4.58.0405191927360.16794@barok.foi.hr>
  References: <009501c43c1f$63d39580$b103a8c0@krabuzin> <40AB35D3.2070602@adelis.com> <Pine.GSO.4.58.0405191927360.16794@barok.foi.hr>

* 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