Expdp/Impdp Of An Xmltype Column Causes 'Encoding' Tag To Change

(Doc ID 1396017.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.4 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

After the import, the encoding tag has changed from ISO-8859-1 to US-ASCII.
Setting NLS_LANG to WE8ISO8859P1 in expdp and impdp didn't have no effect.

expdp of a table containing a column defined as XMLType. The XML header is
<?xml version="1.0" encoding="ISO-8859-1"?>

After impdp to another database the XML header is seen to be:
<?xml version="1.0" encoding="US-ASCII"?>

Database characterset for source database and target database is UTF8.

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