European Special Character Import - clib.fopen and Unicode (Doc ID 490903.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version 7.5.3.8 [16192] and later
Oracle Solaris on SPARC (64-bit)
Product Release: V7 (Enterprise)
Version: 7.5.3.8 [16192]

Checked for Relevance on 21-Aug-2013
**Checked for Relevance on 09-Feb-2015**

Symptoms

Dear Supportweb,

In implementing a flat file interface between Siebel and a legacy system in Europe.    The legacy system can only handle text files using ANSI 850 code page.

When the file is generated in Siebel, the following is used:

fp=Clib.fopen(<filename>, "at+");

Clib.fputs(<string>, fp);



The Clib.fputs command generates a file in ANSI 850 code page, but the European special characters (like umlaut) are showing as "?" in the file.    However, the umlaut type characters are part of the 850 code page, so they should show up correctly.

When using

Clib.fwrite(<string>, <string.length>, fp);


The file generates in ANSI 1252 code page.   This does show the european characters properly, but the legacy system cannot handle this 1252 code page.

Need to be able to generate a file in ANSI 850 text with the correct rendering of the european characters.

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