My Oracle Support Banner

ODPC : NVARCHAR2 Data Corrupted If NLS_CHARACTERSET Set To WE8ISO8859P1 (Doc ID 3010501.1)

Last updated on MARCH 15, 2024

Applies to:

Oracle Data Provider for .NET - Version 19.6.0.0.0 and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)

Symptoms

Using ODP.NET Managed core application, there is an attempt to insert the character œ into the database.
According to documentation, ODP.NET prioritizes the .NET locale over NLS_LANG settings.
Consequently, it should be possible to insert a string containing this character into an NVARCHAR2 column of an Oracle database with the following characteristics:

NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_CHARACTERSET WE8ISO8859P1
NLS_TERRITORY AMERICA
NLS_LANGUAGE AMERICAN

However, the inserted character ( œ ) appears as inverted question mark. 

Actual  Result :

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.