pspp-users
[Top][All Lists]
Advanced

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

Re: unicode


From: Kees Varekamp
Subject: Re: unicode
Date: Mon, 25 Jul 2011 16:45:35 +1200

OK thanks for that.

I'll figure out another way to load the data then - probably utf-8 csv.

Thanks,

Kees

On Mon, Jul 25, 2011 at 16:34, Ben Pfaff <address@hidden> wrote:
Kees Varekamp <address@hidden> writes:

> It doesnt help though :-(
>
> Now i've got
> SET LOCALE='UTF-8'.
> DATA LIST FILE='/home/kees/mnt/mro/Projects/Radar/J10158_Carpet/J10158/
> 0158chn.EXT' FIXED INTNR 1-8 ..
>
> This gives me lots of errors like this one for example:
> warning: Data for variable S1_1 is not valid as format F: Field contents are
> not numeric.
>
> Which makes me think that the multibyte characters are not correctly read,
> causing the data to be shifted. If I convert the file to ascii it reads OK,
> but then (obviously) the Chinese will be garbled.

It interprets the column positions as byte offsets within a line.
It's inconvenient and doesn't make sense to me, but that's
actually what SPSS does too, if I properly recall the results of
experiments I did a while back.
--


reply via email to

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