Convert string

RonQ

Active member
Joined
Dec 11, 2003
Messages
28
Location
Argentina
Hello to everyone!!
Im new to this forum and is my first day with .NET...

Im making an aplication to read a file, its a binary file with some text is spanish, so it has some tildes and
 
How can i get the code page??
it isnt in the file im using, and also i think is a standart windows codepage, because for example the nfo files that uses the "bad boys", cant be read as well.
 
can you post the nfo file?
Did you try using the other methods like Encoding.Unicode, Encoding.UTF7 or Encoding.UTF8?
 
Last edited by a moderator:
It isnt an NFO file is a dat file from a palm program, it isnt unicode. I think it is this encoding "Windows operating system (windows-1252)", im going to try this.
Any more help is welcome.

Bye,
Ronq.
 
It was easyer than i tought i read the entire encoding namespace help to know that the Default encoding would work fine.

Code:
The string is "a
 
Back
Top