Login  Register

Re: How to ensure that an SPSS Syntax file includes a BOM?

Posted by Jon K Peck on May 29, 2013; 4:28pm
URL: http://spssx-discussion.165.s1.nabble.com/How-to-ensure-that-an-SPSS-Syntax-file-includes-a-BOM-tp5720460p5720462.html

Any syntax file saved by Statistics in Unicode includes a BOM.  If you choose to save the file in code page mode (local encoding), it does not.  The default varies with your Statistics version IIRC.


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        Ruben Geert van den Berg <[hidden email]>
To:        [hidden email],
Date:        05/29/2013 10:16 AM
Subject:        [SPSSX-L] How to ensure that an SPSS Syntax file includes a BOM?
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Dear all,

I thought syntax files generated in SPSS (as opposed to, say, Notepad++)
always included a Byte Order Mark (BOM). However, this has turned out not to
be the case. On what does the exclusion/inclusion of a BOM depend?

TIA!



--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/How-to-ensure-that-an-SPSS-Syntax-file-includes-a-BOM-tp5720460.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD