Re: fun with character sets

  • From: "Powell, Mark" <mark.powell2@xxxxxxx>
  • To: "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>, "MAdams@xxxxxxxxxx" <MAdams@xxxxxxxxxx>
  • Date: Wed, 10 May 2017 13:24:14 +0000

If you have access to Oracle support I found a couple of notes on the subject.  
The first is very generic but the second even though it was related to rman was 
actually a script parameter passing error, rather than rman itself, so 
depending on what your login screen does may apply.  The third note is a Report 
problem but the cause being a setting in Reports.sh made me question if Forms 
has a similar config file.
- -
OERR: ORA-12713 "Character data loss in NCHAR/CHAR conversion" Reference Note 
(Doc ID 172617.1)
ORA-12713 Character data loss in NCHAR/CHAR conversion during RMAN Backup (Doc 
ID 2207886.1)
ORA-12713 Running a Report on Unix Environment (Doc ID 1627746.1)
- -




Mark Powell
Database Administration
(313) 592-5148


________________________________
From: oracle-l-bounce@xxxxxxxxxxxxx <oracle-l-bounce@xxxxxxxxxxxxx> on behalf 
of Matt Adams <MAdams@xxxxxxxxxx>
Sent: Wednesday, May 10, 2017 9:05:40 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: fun with character sets

I’ve created a new dev environment for one of our systems.

The old system used  we8iso8859p1 / al16utf16 for the character set and NCHAR 
character set.

The new system uses  AL32UTF8 / al16utf16 for the character set and NCHAR 
character set

Both DBs are version 11.2.0.4 on Solaris 10

The application is written in Forms and the same app tier (web logic, forms 
server, etc) is used to access both databases.

On the new system, the login screen is returning   ORA-12713

oerr ora 12713
12713, 00000, "Character data loss in NCHAR/CHAR conversion"
// *Cause: When character set conversion happens between CHAR and NCHAR
//         either implicitly or explicitly, some characters are lost
//         due to no mapping characters in the destination character set.
// *Action: Make sure all the characters can be mapped to destination
//

I’ve checked the application tables and NONE of them have any columns of type 
NCHAR or NVARCHAR or NCLOB.
The NLS_NCHAR_CONV_EXP parameter is set to FALSE on both systems.

I can’t figure out why this error is being thrown.  I can’t even figure out why 
the app is appearing to try to convert from the normal character set to the 
nchar character set (or vice versa) when none of the application tables use 
those data types.

Anyone have any helpful thoughts?

**** This communication may contain privileged and/or confidential information. 
If you are not the intended recipient, you are hereby notified that disclosing, 
copying, or distributing of the contents is strictly prohibited. If you have 
received this message in error, please contact the sender immediately and 
destroy any copies of this document. ****

Other related posts: