bugPSPP - Bugs: bug #59008, Sintax doesn't understand...

 
 

bug #59008: Sintax doesn't understand non-ASCII characters

Submitter:  Domingo J. Rubira <drl87h>
Submitted:  Tue 25 Aug 2020 06:27:04 AM UTC
   
 
Category:  Syntax Parser Severity:  3 - Ordinary
Status:  Wont Fix Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 25 Aug 2020 09:09:37 AM UTC, comment #2: 

There is no general solution to this problem.

A naive work-around is to start pspp with the --syntax-encoding= option (see section 3.1 of the manual).  However this cannot work in the general case.  Consider what you would do in the example where you had:

ADD FILE /FILE='/file/name/encoded/in/iso-8859-1.sav' /FILE='/another/file/name/this/one/encoded/in/utf-8.sav'.

Either one or other of the files it would fail to resove.

The problem is, if you use wierd characters in your file names, pspp cannot know what you actually meant when you typed it.  My advice therefore is to avoid non-ascii characters in your paths.

John Darrington <jmd>
Group administrator
Tue 25 Aug 2020 06:33:51 AM UTC, comment #1: 

I think the same problem affects to import data. When I try to import data from a non-ASCII directory, the data import wizard is not checking error codes or otherwise manages to move past a "file not found" error to the next step, which cannot possibly work.

Domingo J. Rubira <drl87h>
Tue 25 Aug 2020 06:27:04 AM UTC, original submission:  

In a 64 bits Windows 10 system, GNU pspp 1.2.0-g0fb4db version cannot handle non-ASCII characters. It reports: No such file or directory.

I found it writing in sintax:

ADD FILE /FILE='C:\Users\Domingo\Desktop\Módulo8\DataSet1.sav' /FILE='C:\Users\Domingo\Desktop\Módulo8\DataSet2.sav'

Domingo J. Rubira <drl87h>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by drl87h (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-02 jmd Open/ClosedOpen Closed
    2020-08-25 jmd Severity5 - Average 3 - Ordinary
        StatusNone Wont Fix

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code