E-PC: WriteString/WriteLine PeopleCode Functions Used With UTF8 Charset Add Extra CR to File in PT 8.55 (Doc ID 2281786.1)

Last updated on SEPTEMBER 11, 2017

Applies to:

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

Symptoms

With PeopleTools 8.55, when opening a file for writing with GetFile() and specifying UTF8 charset, and then writing a text buffer to the file, extra Carriage Return (CR) characters are being written for each line. Single newline (NL) characters are auto-converted to CRNL. This is a different behavior than that of previous PeopleTools Releases and may cause problems in file formatting.
This occurs only when opening the file as UTF8, and occurs for both WriteString and WriteLine functions in PeopleCode.

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