[Gambas-user] Strange CGI error with gb.db.postgresql

Christof Thalhofer chrisml at deganius.de
Mon Jun 17 11:16:31 CEST 2019


Hi,

I use a Gambas program via CGI from an Apache2 server which works pretty
well. If it starts, it opens a connection to a Postgresql server and
does a sql query, which also works whithout any problemy, except that
this is logged in /var/log/apache2/error.log when a connection is
established:

> AH01215: gb.db.postgresql: warning: cannot set encoding to ANSI_X3.4-1968: /home/doms/degapp/degapp.gambas

I tried to set Postgresql client encoding to UTF8 via sql at start of
the connection and also tried to set the encoding via environment
variable in apaches config with

"SetEnv PGCLIENTENCODING UTF8"

Without success.

Any idea?


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190617/ca25091a/attachment.sig>


More information about the User mailing list