Changeset 4052 for trunk/configs

Show
Ignore:
Timestamp:
01/26/08 08:58:28 (12 months ago)
Author:
pmoura
Message:

Updated the SICStus Prolog 4 config file to also accept UCS-2 encodings when using the encoding/1 directive.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configs/sicstus4.config

    r4045 r4052  
    66%  configuration file for SICStus Prolog 4.0 and later versions 
    77% 
    8 %  last updated: January 23, 2008 
     8%  last updated: January 26, 2008 
    99% 
    1010%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    524524'$lgt_logtalk_prolog_encoding'('ISO-8859-15', 'ISO-8859-15', _). 
    525525'$lgt_logtalk_prolog_encoding'('UTF-8', 'UTF-8', _). 
     526'$lgt_logtalk_prolog_encoding'('UCS-2', Encoding, Stream) :-    % UTF-16 subsumes UCS-2 
     527    '$lgt_logtalk_prolog_encoding'('UTF-16', Encoding, Stream). 
     528'$lgt_logtalk_prolog_encoding'('UCS-2BE', 'UTF-16BE', _). 
     529'$lgt_logtalk_prolog_encoding'('UCS-2LE', 'UTF-16LE', _). 
    526530'$lgt_logtalk_prolog_encoding'('UTF-16', Encoding, Stream) :-   % BOM optional but strongly recommended 
    527531    (   stream_property(Stream, encoding('UTF-16BE')) ->