-1
I’m trying to read a text file using basic visual, but it puts "?" in the words with accent and cedilla, for example, how do I make him read the files in ANSI format ? this doesn’t work:
Dim ArqTemp As String = File.ReadAllText(Arquivo, Encoding.UTF8)
Try to change the
Encoding.UTF8
forSystem.Text.Encoding.GetEncoding(850)
– Jéf Bueno
He placed characters such as: "Applications "
– Aesir
Tries
860
@Aesir– Jéf Bueno
@Did it work? The Jéferson should put as answer?
– Maniero
I haven’t, it’s like this now: "APPLY ES"
– Aesir
Are you sure you’re in
UTF-8
? Try as an ANSI:File.ReadAllText(Arquivo, Encoding.GetEncoding("ISO-8859-1"))
– Marcus Vinicius
Bah truth man, so it worked!
– Aesir