Re: about dynamic/1 and file format
Pierpaolo Bernardi <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CANY8u7Gif6BcUs=svX4mQP=NwgB1g=fsO+iubhj=u7qcFZV6zw@mail.gmail.com> |
On Mon, Jan 6, 2014 at 2:31 PM, Jiun-Shiung Wu <[email protected]> wrote: > When I try my program again, :- dynamic father/2 does not > work. This is strange. You should investigate why this does not work, rather than worrying about missing parentheses. > As for file format, I used open/4 and I did specify the file format to be > UTF-8. But, I opened the file with Notepad++, it showed that the file was > the format of UTF-8 without the BOM header. So.... there's no BOM in UTF-8. Anything that requires a BOM in UTF-8 has a bug which should be addressed by not requiring a BOM, rather than insisting to have a BOM in UTF-8. HTH P.