My Oracle Support Banner

E-PIA: Spaces In iScript Response Are Getting Compressed (Doc ID 2140323.1)

Last updated on JANUARY 03, 2023

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.54 and later
Information in this document applies to any platform.

Symptoms

People Tools 8.54


In an iScript, the statement Response.WriteLine is used to send the contents of a text file to the browser.
But when the text has multiple spaces, they are compressed into one space so the text looses the formatting.

Also, lines ending with a semi-colon always have the subsequent line appended onto the semi-colon.

REPLICATION STEPS
=================
1) Create a simple iScript, with just this:

Function IScript_Tracer()
%Response.WriteLine("a a a         a");
End-Function;

The output is like this:

a a a a (all extra white spaces are dropped).

2) Change the iScript to:

%Response.WriteLine("a a a a;");
%Response.WriteLine("a a a a;");

The output will appear as: a a a a;a a a a;

Changes

 

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
References


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