Hello friends..
I am stuck in tricky situation and would appreciate if someone can give me some direction on following issue,
Working environment is -
JDK 6, Websphere 8
My EAR has an
EJB, that EJB reads file content from remote system and provide the data as
byte [ ]
In my local, using Websphere @ Windows platform, returned byte [ ] is different from Websphere on AIX platform
for new line on Windows I am getting - 13, 10
and on AIX I get - 10
ASCII Character Codes
10 \n (NL)
13 \r (CR)
in local (Windows) env. I can get file and that remains well formatted... but file downloaded using same EAR in dev (on AIX) file content keep continue to same line.
if I open same file with Notepad++, textpad or any other editor format of that file remains good.. but since Notepad is default editor I need to address the issue...
please let me know if you can give me some clue / direction...
regards..