I am writing a C# script that instruments some VB6 code.
I need to output the generated code using the same encoding as VB6 to avoid losing character data. Right now it keeps changing Latin characters, like é, to null characters.
Notepad++ guesses that VB6 files are ANSCII by default, but since they don't have a BOM that's just an educated guess. I have tried encoding with ANSCII and it still loses character data.
Any ideas?