I am trying to batch convert quite a number of CSV files present encoding to UTF-8 through .NET
What I have been doing till now is opening the csv file one by one and selecting "all files" from the "save as/format type" dropdown box and selecting the encoding as "UTF-8" again from the dropdown box below it and then I save it (It doesn't asks to replace the original file though).
As this procedure is quite tedious, I would like to write a tiny app for it in vb.NET
All I came up with is this: System.Text.Encoding.Convert(System.Text.Encoding.ASCII,System.Text.Encoding.UTF-8)
But thats creating an error :(
Any suggestions? Thx
UPDATE: Just updated my question to use .NET's internal lib/funcs instead of using Notepad :D