Hi, if option UTF8=True, will cause a Direct Statement error when loading a program after saving it. Example:
SAVE “BBALL.BAS”,A
OK
LOAD “BBALL.BAS”
Direct Statement in file
/Ron.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Ron, thanks again for reporting this bug. I think it's caused by PC-BASIC writing a UTF-8 'byte-order mark' but then not expecting to read one when opening the file. The issue doesn't seem to happen in the development version. I'll see if I can push out a bugfix for the release version as well.
Rob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, if option UTF8=True, will cause a Direct Statement error when loading a program after saving it. Example:
SAVE “BBALL.BAS”,A
OK
LOAD “BBALL.BAS”
Direct Statement in file
/Ron.
Hi Ron, thanks again for reporting this bug. I think it's caused by PC-BASIC writing a UTF-8 'byte-order mark' but then not expecting to read one when opening the file. The issue doesn't seem to happen in the development version. I'll see if I can push out a bugfix for the release version as well.
Rob
This is solved in the git repository, will include in next bugfix release.