Hi, I have the following problem, I want to write my csv but I put the accents wrong with strange characters. Then I want to add UTF8 but when I put it on, more Encoding.UTF8 already tells me that
Unable to convert string to System.IO.Stream
using (System.IO.StreamWriter escritor = new System.IO.StreamWriter(@"C:\Users\NUEVO\Desktop\xd\mylittlepony.csv", Encoding.UTF8))
{
escritor.WriteLine("Nombre,Email,Compania,Web,Direccion,Telefono,Giro");
}
If I put this part without Encoding.UTF8
in this part it works but with strange characters.
using (System.IO.StreamWriter escritor = new System.IO.StreamWriter(@"C:\Users\NUEVO\Desktop\xd\mylittlepony.csv"))
Thank you.