My Oracle Support Banner

Character set conversion when using UTL_FILE (Doc ID 227531.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 and later
Oracle Database - Standard Edition - Version 10.2.0.5 and later
Oracle EDI Gateway - Version 12.2.3 to 12.2.3 [Release 12.2]
Information in this document applies to any platform.
***Checked for relevance on 10-Oct-2016***

Purpose

Document how to do characterset conversion when reading or writing files UTL_FILE.

Scope

Note that we advice to use SQLdeveloper (and not sqlplus, toad, etc) as client when testing with UTL_FILE, this is a "know good client" that needs no NLS configuration.
<note 1628060.1> How to diagnose losing characters , getting "funny" output when inserting or selecting other than A-Z,a-z data ( = non English data like Chinese, Russian, Hebrew , insert any language here to the list that is not English) CHAR, VARCHAR2, LONG or CLOB
If the data is displayed correctly in SQLdeveloper then you are sure it's correct in the database.

Details

To view full details, 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 a vibrant support community of peers and Oracle experts.