PL/SQL (MOSC)

MOSC Banner

CRLF strips characters when database is on Linux

edited Jun 1, 2016 5:34PM in PL/SQL (MOSC) 7 commentsAnswered

Anybody seen this?

We upload a textfile to a clob, add some more text, replace some other text and finally convert it into a xmltype. If the file uploaded has CRLF as linebreaks then the 2 leading characters of the uploaded files is stripped. That does not happen when linebreaks is UNIX-style LF. You could think that this is a BOM that gets deleted, but I've made sure that the file is UTF-8 without BOM.

Database is 11.2.0.4 on Suse Linux Enterprise Server 11 Sp3.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center