pspp-dev
[Top][All Lists]
Advanced

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

[patch #6669] Simple patch which allows to specify which codepage to use


From: Eric de Ruiter
Subject: [patch #6669] Simple patch which allows to specify which codepage to use in .sav files
Date: Wed, 12 Nov 2008 08:58:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3

URL:
  <http://savannah.gnu.org/patch/?6669>

                 Summary: Simple patch which allows to specify which codepage
to use in .sav files
                 Project: PSPP
            Submitted by: jeric
            Submitted on: Wed 12 Nov 2008 08:58:40 AM GMT
                Category: None
              Item Group: None
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Attached is a simple patch which allows you to set the codepage (sets the
character_code field as specified here:
http://www.gnu.org/software/pspp/pspp-dev/html_node/Machine-Integer-Info-Record.html#Machine-Integer-Info-Record)
The default is not changed (7-bit ascii).

Syntax:

SET codepage=<integer>.

For example use

  SET codepage=65001.

to set the codepage to UTF-8. I believe this works for SPSS versions >= 16.
This patch does not do recoding, so you have to make sure your data is in the
specified codepage.

See also page 46 in
http://support.spss.com/ProductsExt/SPSS/Documentation/Manuals/16.0/SPSS%20Input-Output%20Module.pdf



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 12 Nov 2008 08:58:40 AM GMT  Name: pspp.patch  Size: 4kB   By:
jeric

<http://savannah.gnu.org/patch/download.php?file_id=16833>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?6669>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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