• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Editing mission XML with wordpad - NO!

Messages
78
Country
unitedstates
I haven't had a lot of time to work on my mission file in FSX lately, so I backed it up and brought it to work, where I've been working on it using wordpad and the GUID generator. After putting together the last 30% of the mission, I put it into FSX to test it out - no mission found. When I clicked on the XML, it gave me errors reading the file. As it turns out, everytime I did an edit with wordpad, when I saved it it played games with the characters.

Some characters were missing altogether. For example, a world position entry would show up as:

<WorldPos tion>

In other cases, characters were substituted, such as:

<Soun?FileName>

When I went and tried doing a few edits with notepad, all was fine.

Anyone else have this problem and if so, do you know why it's happening? I'm just frustrated because I completed the entire flow of checklists from descent briefing to touchdown and now I have to go through and do it all over again! Either that or, step through the XML error by error.

And, I used to edit this way all the time with no problems. ?
 
Don't know what might have happened there. But as it works well in wordpad (not sure if this is the best editor anyway) you can copy it into another editor (like the default MS notepad.exe) and save it there.
 
Hi Folks

This may possibly be due to different default codepage settings on the two PCs
SP1 changed all mission XML to codepage UTF-8

May I suggest Notepad++
as larger missions may not load into the default Notepad.

Notepad++ also supports -
Codepage display
An extended range of filetypes
Syntax highlighting
etc.

See info & download from - Notepad-plus @ sourceforge.net

HTH
ATB
Paul
 
Last edited:
Actually UTF-8 is an encoding format (Universal Text Format - 8 bit), the code page is Windows-1252 - the previous format was standard 8 bit ASCII.
 
Hi Folks

Ooops
Cheers Tim.

That should have been UTF-8 encoding for multi-language codepage support.

ATB
Paul
 
Back
Top