- Messages
- 60
- Country

In FSX I never had to worry about encodings and the like. But now I changed to P3D v4 due to the advantages of a 64bit architecture.
As "n4gix" already pointed out in an earlier thread ( http://www.fsdeveloper.com/forum/threads/beware-p3dv4-scenery-cfg-encoding-changes.440551/ ) the correct file-encoding at least for the scenery.cfg file after it's first use is UNICODE.
As I'm a casual developer only I don't know as much as I obviously should about encodings. I searched the web, but there are still some issues re. encoding I'd like/need to clear up.
Can someone please explain following questions/issues about file encodings used in P3D v4?
1. Is unicode the same as UTF-8 in P3D v4? There are so many differing explanations out there...
(e.g.: https://stackoverflow.com/questions/643694/utf-8-vs-unicode )
2. Is ANSI really identical to windows-1252?
3. And many other obviously duplicated namings for the same encoding?
4. Has anyone a list of all names of encodings I need in P3D 4?
5. why do some text-editors show different encodings for the same file?
6. Which text-editor do _you_ use?
7. When saving a confiruration file - besides an *.xml file, where the encoding is defined in the first line - do I have to save it always with the same encoding as when I opened it before editing?
7. Is there a list of all configuration files for P3D v4 with it's corresponding path _and_ encoding for P3D v4? Could'nt find any in P3D v4 SDK
Any hints are highly appreciated!
As "n4gix" already pointed out in an earlier thread ( http://www.fsdeveloper.com/forum/threads/beware-p3dv4-scenery-cfg-encoding-changes.440551/ ) the correct file-encoding at least for the scenery.cfg file after it's first use is UNICODE.
As I'm a casual developer only I don't know as much as I obviously should about encodings. I searched the web, but there are still some issues re. encoding I'd like/need to clear up.
Can someone please explain following questions/issues about file encodings used in P3D v4?
1. Is unicode the same as UTF-8 in P3D v4? There are so many differing explanations out there...
(e.g.: https://stackoverflow.com/questions/643694/utf-8-vs-unicode )
2. Is ANSI really identical to windows-1252?
3. And many other obviously duplicated namings for the same encoding?
4. Has anyone a list of all names of encodings I need in P3D 4?
5. why do some text-editors show different encodings for the same file?
6. Which text-editor do _you_ use?
7. When saving a confiruration file - besides an *.xml file, where the encoding is defined in the first line - do I have to save it always with the same encoding as when I opened it before editing?
7. Is there a list of all configuration files for P3D v4 with it's corresponding path _and_ encoding for P3D v4? Could'nt find any in P3D v4 SDK
Any hints are highly appreciated!


