My Oracle Support Banner

Siebel 20: eScript Clib Fopen Function Always Creating File with Unicode Encoding (Doc ID 2693674.1)

Last updated on AUGUST 19, 2022

Applies to:

Siebel Tools - Version 20.5 and later
Information in this document applies to any platform.

Symptoms

The files created by Clib.fopen() function in eScript are always Unicode after upgrade to Siebel 20.
The issue can be reproduced at will with the following steps:


1. Create a eScript as below code:
    var fp = Clib.fopen("abc.txt", "wt");
2. The "abc.txt" file is created with Unicode encoding

Changes

The following things were confirmed in the internal environment test.

In IP14
var fp = Clib.fopen("abc_wt.txt", "wt"); -> create the ANSI (encoding) file
var fp = Clib.fopen("abc_wu.txt", "wu"); -> create the Unicode (encoding) file

In IP20.5
var fp = Clib.fopen("abc_wt.txt", "wt"); -> create the UTF8 (encoding) file
var fp = Clib.fopen("abc_wu.txt", "wu"); -> create the Unicode (encoding) file

In the IP20.5 environment, the file is created with UTF8, but there should not be any problem in reading and writing ASCII data.

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


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