Menu

PCBASIC option utf8=True

2015-11-23
2015-11-23
  • Ronald Herrera

    Ronald Herrera - 2015-11-23

    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.

     
  • Rob Hagemans

    Rob Hagemans - 2015-11-23

    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

     
  • Rob Hagemans

    Rob Hagemans - 2015-11-23

    This is solved in the git repository, will include in next bugfix release.