In JDBC url you specify the character encoding .
ex:
jdbc:mysql://host:3306/db?characterEncoding=UTF8
.
jdbc:teradata://host/DBS_PORT=1025,DATABASE=Orders,CHARSET=UTF8
I am trying to understand how this actually works.
Does this mean that the client specifically asks the server in which character-encoding it wants data?
If actual data is saved in different character encoding in DB (say Shift_JIS), does the DB server perform the encoding conversion before sending data to the client? (in this example, from SJIS to UTF-8 ?)