eScript not able to handle special characters

(Doc ID 497724.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version 7.5.3.2 SIA [16168] and later
HP-UX Itanium
Product Release: V7 (Enterprise)
Version: 7.5.3.2 [16168] NLD Engy/Oil
Database: Oracle 9.2.0.2
Application Server OS: HP-UX 11i
Database Server OS: HP-UX 11i

This document was previously published as Siebel SR 38-1204894921.


Symptoms

We have a business service function that strips some tags from an xml file. There is a problem however when it comes across special European characters like äüö. The script ignores the character and there is a loss of data.

Before processing:
<PrimaryAccountCountry>Namibiä</PrimaryAccountCountry>

After processing through the business service the following appears:
<PrimaryAccountCountry>Namibi</PrimaryAccountCountry>

Here is the code that reads from one file and writes to another.

            while(!Clib.feof(fIn))
            {
                strBuffer = Clib.fgets(fIn);
                if (strBuffer != null)
                {
                    Clib.fputs(strBuffer, fOut);
                }
            }

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