How to ensure that an SPSS Syntax file includes a BOM?
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?
Re: How to ensure that an SPSS Syntax file includes a BOM?
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?
=====================
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