I found a possible solution: instead of read the contents of the script I
execute it with the command psql like this,
Runtime.getRuntime().exec("psql -U " + user + " -h " + host + " -d " +
dbName + " -f " + path);
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Problem-with-client-encoding-UTF8-tp5721132p5721903.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.