My Oracle Support Banner

UTL_ENCODE.BASE64_ENCODE APPENDING ONLY LF AND MISSING CR IN THE LAST LINE IN 12.2 ONWARDS. (Doc ID 2596991.1)

Last updated on APRIL 17, 2023

Applies to:

PL/SQL - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

While using function UTL_ENCODE.BASE64_ENCODE (rawBuffer), function has been automatically appended a CRLF every 64 characters, even on the last line returned by the function. If the line did not contain 64 characters, an LF was appended.
From 12.2 onwards, it seems that CR is missing in the last line, meaning that only one LF is appended, even if the function returns 64 characters.

Changes

 Upgraded to 12.2 from 12.1.

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.