I am uploading csv files using jdbc
to teradata. Everything used to be fine, until recently I came across a csv
file that had some weird characters and my code failed to upload .
I opened the csv
file in Notepad ++ , and it look like this SUB
. When I open it in Excel it looks like this ->->
When I manually deleted those characters, everything went back to normal. I am curious , is there any way I could use java
to clean a csv
file to remove all kind of invalid characters ?