Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> problems handling chr(13) chr(10) as raw data
I've been trying to encode strings of the form
"A \r\n\r\n" as base64 using utl_encode.base64_encode
At the other end the decode just gets "A \n \n"
Checked the encoded output and sure enough it's ignoring the \r's. Encoded and wrote encoded output to file and only has 4 characters QQoK which corresponds to "A \n \n".
Does anyone know why this is. Checked with utl_raw, length and substr functions and it treats this combinition as 3 chars. Is the encoding doing something similar. Received on Thu Oct 20 2005 - 11:30:34 CDT
![]() |
![]() |