This Japanese character , which has four bytes, is saved as
????
in Oracle database whereas other Japanese characters are saved properly.
The configuration in boot.rb
of my rails application contains:
ENV['NLS_LANG'] = 'AMERICAN_AMERICA.UTF8'
and sqldeveloper
of oracle db has
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CHARACTERSET JA16SJISTILDE
The datatype of the column is NVARCHAR2
.