As for your CR/LF problem, it seems like you have been Oracled (bad thing, obviously...) :
At the time of this writing, there are no workarounds nor is Oracle considering back-porting a fix for Oracle9i.
You could gain more insight by delving into these Ask Tom answers. In your case, I guess developing a Java package would be an option worth being considered.