prob al sutituir Ñ por N
Publicado por Hèctor Guerrero (10 intervenciones) el 14/01/2009 22:45:19
Buenas Tardes,
Necesito Sustituir en un archivo TXT la letra Ñ por N , sin embargo , no lo hace el procedimiento me esta poniendo ? , les anexo fragmento del codigo
Dim Fs As FileStream = New FileStream("C:SISTEMASNOMINAARCHIVOSMONTERREY.txt", _
FileMode.CreateNew, FileAccess.Write, FileShare.None)
Dim writer As New StreamWriter(Fs, System.Text.Encoding.Default)
stringReader = "01" + fileReader.ReadLine.Substring(2, 51)
stringReader = stringReader.Replace("Ñ", "N")
Ya estuve probando con el Encoding.UF8 y me envìa �
Tengo el Visual Studio 2008 con XP
Haber si alguien puede apoyarme , de antemano gracias por su ayuda
Hèctor
[email protected]
Necesito Sustituir en un archivo TXT la letra Ñ por N , sin embargo , no lo hace el procedimiento me esta poniendo ? , les anexo fragmento del codigo
Dim Fs As FileStream = New FileStream("C:SISTEMASNOMINAARCHIVOSMONTERREY.txt", _
FileMode.CreateNew, FileAccess.Write, FileShare.None)
Dim writer As New StreamWriter(Fs, System.Text.Encoding.Default)
stringReader = "01" + fileReader.ReadLine.Substring(2, 51)
stringReader = stringReader.Replace("Ñ", "N")
Ya estuve probando con el Encoding.UF8 y me envìa �
Tengo el Visual Studio 2008 con XP
Haber si alguien puede apoyarme , de antemano gracias por su ayuda
Hèctor
[email protected]
Valora esta pregunta


0