Re: What's the best way to translate MS generated translations of user input to what the user actually typed prior to insert or update into PG backend table ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Gauthier <davegauthierpg(at)gmail(dot)com>
Cc: Tim Clarke <tim(dot)clarke(at)minerva(dot)info>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: What's the best way to translate MS generated translations of user input to what the user actually typed prior to insert or update into PG backend table ?
Date: 2020-10-30 18:14:52
Message-ID: 101798.1604081692@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David Gauthier <davegauthierpg(at)gmail(dot)com> writes:
> Next question, how does one actually replace the thing ?
> replace(thestring,0x2026,'...')
> ... isn't going to fly.

If you don't want to write the actual UTF8 character, maybe the chr()
function would suit you better [1].

regards, tom lane

[1] https://www.postgresql.org/docs/current/functions-string.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Clifford Snow 2020-11-01 00:17:17 Unable to install pgadmin4
Previous Message Peter J. Holzer 2020-10-30 18:13:05 Re: What's the best way to translate MS generated translations of user input to what the user actually typed prior to insert or update into PG backend table ?