When you open some file with txt editor the encoding type can not be read and its just a mess of characters, I want to use this with my program when saving a file and how to do this in c# with:
BinaryWriter bw = new BinaryWriter(File.Create(path), Encoder.SOME_ENCODING);
and then decode it when loading. So what encoding should I use for this?
???????????????????in the file in place of characters that couldn't be encoded in the target encoding.