When I execute the code at my end, the characters get saved correctly. But when the same code with the same data is executed at client side, the characters change when they are written to the database and that causes issues when they are displayed on a screen. The datatype of the column is varchar2.
Initially, I thought that the character set of the database at their end would be different from mine so I asked for the NLS parameters from the client. Turns out, the character set is the same but the language and territory is different. I think it could be causing this problem but I am not sure. If yes, how can I ask them to change it?
Paramter Client Me
NLS_CHARACTERSET AL32UTF8 AL32UTF8
NLS_LANGUAGE GERMAN AMERICAN
NLS_TERRITORY AUSTRIA AMERICA
Please tell me if I need to put more information.
EDIT: Issue was not with the database character set, it was with the application. Fixed this issue after adding -Dfile.encoding=UTF-8 in jvm arguments.