Make sure your database/table is created with Unicode as the encoding. Refer the Postgresql forums/documentation for more details.
Also try getting the connection with the URL which also specifies the character set explicitly.
jdbc:postgresql://localhost:5432/testdb?charSet=YOUR-ENCODING-HERE
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
Offline 8,871 posts
since Jun 2006