Hello! After some update, may be half a year ago, or so. I started to facing some strange errors when creating New Custom Game with script files. Sometimes I'm using my custom files for this.
It was working fine without any error, but after update it started to throw errors. It took me a while to figure out that file encoding is the problem. So if the script file is saved using anything else than ANSI, game will throw error. For example same script file saved with UTF-8 will throw error and same file saved with ANSI will not.
You could take for example default predefined script file e.g. (autosave every 10 days) and save it using UTF-8, and on some circumstances it will even disappear from the "LOAD FILE" dialog window.
Could you please suggest me, is this problem on my end, OS or may be locale settings or it's game problem?
Some problems with Custom Game Script file
- David
- Community and Marketing Manager at Enlight
- Posts: 9356
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 17 times
- Been thanked: 48 times
Re: Some problems with Custom Game Script file
I opened autosave every 10 days.txt and it is using UTF-8 already - see attached.You could take for example default predefined script file e.g. (autosave every 10 days) and save it using UTF-8, and on some circumstances it will even disappear from the "LOAD FILE" dialog window.
Please provide your script file and we will look into it.
- Attachments
-
- utf.jpg (61.81 KiB) Viewed 615 times
Re: Some problems with Custom Game Script file
Hello David, thank you for the reply.
Yep, can confirm. This is my bad, my excuses, two of mine text processing app, including Notepad displayed me, that it is UTF-8, but instead they saved to UTF-8-BOM. And I have no clues why.
Yep, can confirm. This is my bad, my excuses, two of mine text processing app, including Notepad displayed me, that it is UTF-8, but instead they saved to UTF-8-BOM. And I have no clues why.