public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andrea Ricci <[email protected]>
To: Thom Brown <[email protected]>
Cc: [email protected]
Subject: Re: Problem with encoding
Date: Mon, 25 May 2026 18:39:35 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAA-aLv7r68iFhp3GyQj2zW1g5dpsO_TWCcJZtHXPwtaW_L5UmQ@mail.gmail.com>
References: <[email protected]>
	<CAA-aLv7r68iFhp3GyQj2zW1g5dpsO_TWCcJZtHXPwtaW_L5UmQ@mail.gmail.com>

Yep !

That was the problem, actually using an *UNICODE* driver, everything works

thanks

A

Il 25/05/2026 17:44, Thom Brown ha scritto:
>
> *CAUTION* - This e-mail originates outside of Dedalus. Be vigilant 
> with content, links and attachments!
>
> On Mon, 25 May 2026, 16:07 Andrea Ricci, <[email protected]> wrote:
>
>     Hi,
>
>     I'm using Powerbuilder via ODBC on a PostgreSQL 17 database
>     (13.02.00.00 ANSI).
>
>     The setting of server encoding is 'UTF8', and in the "Connect
>     Setting" parameter of ODBC voice I have "SET CLIENT_ENCODING TO
>     'UTF8'".
>
>     The problem appears when I attempt to update a char(4) column with
>     '4ยท ' (34 B7 20 20 in hex)vor similar value with "high"
>     characters, via explicit sql instruction.
>     The same update instruction via pgAdmin works, of course.
>
>
> You are using an ANSI driver, which won't work with what you are 
> sending, particularly because it includes what appears to be a 
> multibyte character (that dot in the middle).
>
> Do you have a unicode driver available?
>
> Thom
>
>


-- 

Attachments:

  [image/png] Immagine.png (30.1K, 3-Immagine.png)
  download | view image

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Problem with encoding
  In-Reply-To: <[email protected]>

* 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