=NOSIG=Ask Posted March 1, 2022 Posted March 1, 2022 Hey, Can anyone tell me what encoding the .Mission file has? I'm rendering some missions from code and some of our pilots have the Swedish characters Å, Ä, Ö, å, ä, ö and so on. I'm currently writing the file as utf-8 but it doesn't seem to want to accept it. It works fine if I save it in the mission editor but I can't seem to figure out what encoding it's using. Thanks /K
Jaegermeister Posted March 2, 2022 Posted March 2, 2022 I'm sure someone can, but it doesn't look like they are going to.
jollyjack Posted March 6, 2022 Posted March 6, 2022 yep, think so, Notepad ++ exposes more than the normal notepad does.
JG4_Deciman Posted March 6, 2022 Posted March 6, 2022 As I use my own c# script on editing missions here my settings public StreamWriter(string path) : this(path, false, StreamWriter.UTF8NoBOM, 1024) { } CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-GB"); CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo("en-GB"); So UTF8 seems to match Deci 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now