Forms12c: Unicode Characters Garbled when Insert/Update into NVARCHAR2 in NON-UNICODE Database. (Doc ID 2299003.1)

Last updated on SEPTEMBER 02, 2017

Applies to:

Oracle Forms - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

Since 11.1.2.x, a new Forms datatype of NCHAR has been introduced. So Forms can handle NCHAR and NVARCHAR data.


Oracle Fusion Middleware Forms Services Deployment Guide 11g Release 2 (11.1.2) E24477-03
2.5 Support for Unicode Columns

However,  if your database character set is non-Unicode Forms tries to INSERT or UPDATE data into unicode columns in the database then those characters will be replaced by the '?' character.

For example, below situation

    - Database setting is below
      NLS_CHARACTERSET JA16SJIS
      NLS_NCHAR_CHARACTERSET AL16UTF16

   - Added NLS_LANG=Japanese_Japan.AL32UTF8 in default.env
      ※Detail is on Online Help(Forms Builder 12c - keyword: NCHAR )

   - Set NCHAR for Data Type

      

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms