I have a problem during bulk insert. I'm trying do bulk insert from file with encoding LATIN1 into table where database with encoding UTF8.
invalid byte sequence for encoding "UTF8": 0xc33f
When I do SET CLIENT_ENCODING='LATIN1' and after do COPY from console, it works OK. but JDBC say me that he can't do SET CLIENT_ENCODING.
Please, could you suggest solution how I can workaround problem. Thanks!
set client_encodingstatement as raw sql in jdbc?