Invalid byte sequence for encoding UTF8
Posted: Mon 20 Jul 2009 20:00
Hi,
First of all, I using a PostgreSQL database that I created with encoding UTF8
and in Delphi 2009 I´m using TUniConnection and a PostgreSQLUniProvider
but when I´gonna save some data that has some accentuation like çÇâé
I got a message Invalid byte sequence for encoding UTF8
I just tried to put a string UTF8 in TUniConnection in parameter Charset, but didnt work it
note : I use a PgAdminIII and I tried to do a SQL INSERT into database and works fine ! just for application dont work !
Does anybody could help me, please ?!
thanks
First of all, I using a PostgreSQL database that I created with encoding UTF8
and in Delphi 2009 I´m using TUniConnection and a PostgreSQLUniProvider
but when I´gonna save some data that has some accentuation like çÇâé
I got a message Invalid byte sequence for encoding UTF8
I just tried to put a string UTF8 in TUniConnection in parameter Charset, but didnt work it
note : I use a PgAdminIII and I tried to do a SQL INSERT into database and works fine ! just for application dont work !
Does anybody could help me, please ?!
thanks