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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Ruben Geert van den Berg
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!
Reply | Threaded
Open this post in threaded view
|

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

Jon K Peck
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


Reply | Threaded
Open this post in threaded view
|

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

Ruben Geert van den Berg
Thanks Jon! That seems to work!
Reply | Threaded
Open this post in threaded view
|

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

John McConnell-2

Hi

 

I'll be out of the office today - Thursday 30 May.

 

I will check mail intermittently and get back to you as soon as i can

 

Thanks

John