ISSUE WHEN READING GREEK CHARACTERS FROM TXT FILE ENCODED IN UTF-8 OR UTF-16
(Doc ID 956836.1)
Last updated on NOVEMBER 22, 2019
Applies to:Siebel Tools - Version 184.108.40.206 SIA  and later
Information in this document applies to any platform.
Checked for relevance on 04-Sep-2013
In our application we are trying to read data through eScript from a txt file encoded in UTF8 format. It is intended to store this data inside custom Business Component.
The import of the records takes place without issue as long as the characters are latin. As soon as a greek character is met the process fails.
The file is stored inside UNIX server.
Below you may parts of the respective eScript we are using:
sProduct = sProduct.replace(/[\r\n]+/g, "");
arrProduct = sProduct.split(",");
sEposId = arrProduct;
sProdName = arrProduct;
sProdStatus = arrProduct;
sEposType = arrProduct;
sProdType = arrProduct;
We have also tried using fp = Clib.fopen(sFilePath,"rt"); option.
Could you please provide your feedback on how to resolve this issue?
Please let us know whether more information is needed.
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