[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error exporting data dictionary

From: Ben Pfaff
Subject: Re: error exporting data dictionary
Date: Tue, 20 Oct 2015 09:58:07 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Oct 20, 2015 at 09:56:54AM -0700, Ben Pfaff wrote:
> On Mon, Oct 19, 2015 at 03:18:01PM -0400, Ricardo Pietrobon wrote:
> > Hi, I am new to pspp, and am trying to open a .sav file and then export
> > it's dictionary. Opening works, well, but the export command returns the
> > following:
> > 
> > PSPP> get file='data.sav'
> >     > EXPORT
> > warning: `data.sav': This system file does not indicate its own character
> > encoding.  Using default encoding UTF-8.  For best results, specify an
> > encoding
> > explicitly.  Use SYSFILE INFO with ENCODING="DETECT" to analyze the possible
> > encodings.
> > 
> > error: `data.sav' near offset 0x9818: Invalid variable name `BRA?O'.
> > PSPP>
> > 
> > 
> > The file contains labels in Portuguese and so utf-8 should theoretically be
> > just fine. Any thoughts on what I might be doing wrong?
> A few comments.
> The error you're seeing is from opening the file, you just didn't
> include a trailing . on the GET command so PSPP had to read the
> beginning of the next command to realize that the GET was complete.
> The particular error message indicates that the file is not in UTF-8.
> As the error message says, use SYSFILE INFO with ENCODING="DETECT" to
> analyze the possible encodings.

Oh, also, EXPORT probably isn't what you want.  It isn't really useful
since hardly anything other than SPSS or PSPP can read what it writes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]