Re: about dynamic/1 and file format

Paulo Moura <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 06/01/2014, at 16:04, Pierpaolo Bernardi <[email protected]> wrote:

> 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.

http://www.unicode.org/faq/utf_bom.html#bom5

Cheers,

Paulo

-----------------------------------------------------------------
Paulo Moura
Logtalk developer

Email: <mailto:[email protected]>
Web:   <http://logtalk.org/>
-----------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.