When I insert the Windows-1252 (80-9F) control characters from sql developer in windows, they get inserted correctly into oracle db.
But when I use sqlplus
in linux server, the control characters are inserted as � in same db.
For example, when I execute below statement in linux server sqlplus,
insert into demo values ('“a”');
I get the below output inserted in db:
�a�
Samething happens for other control characters like Œ, Ž, Š, ‹
, etc..
My locale setting:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
Can someone help me?