My Java code produce csv file. when I open this CSV file as Notepad, I can not seen new line. I see all data just one line. Because of this reason , I can not add this file SQL database.
How can I solve this problem? For example, test.csv file :
TerminalSerialNo IMEI Site-Ref
77EC0067C8A1BA6462FCA25F8B1DFBE289F6A3EE null SIT-3
01B406234550B1A688000050BF7A60E2 null SIT-3
19B32E9399CB51FACF858E126F9C7684578A8BAC null SIT-7
When I open this file as Notepad:
TerminalSerialNo,IMEI,Site-Ref,Site-Name77EC0067C8A1BA6462FCA25F8B1DFBE289F6A3EE,null,SIT3,01B406234550B1A688000050BF7A60E2,null,SIT-3,19B32E9399CB51FACF858E126F9C7684578A8BAC,null,SIT-7
What can I do to see data in Notepad with new line as CSV file?
Best Regards