Is LC_NUMERIC the only locale aspect that matters in SPSS?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Is LC_NUMERIC the only locale aspect that matters in SPSS?

Albert-Jan Roskam-2
 
Hi,

Like the title says: Is LC_NUMERIC the only locale aspect that matters in
SPSS? Below I try to answer my own question for each locale category. Am I
correct, or is there something I am missing?

* LC_CTYPE --> No, character classification and case conversion is always the same. You *cannot* e.g. have a situation where COMPUTE n = NUMBER(s, F5) is valid in locale X, but invalid in locale Y
* LC_NUMERIC --> Yes, decimal separator and thousand grouping. But beware of SET DECIMAL = DOT/COMMA,
DIGITGROUPING, which are not locale-dependent.
* LC_TIME --> No, if I do SET LOCALE  "nl_NL.CP1252"; COMPUTE d = $time; FORMATS d (WKDAY40). I still get
the *English* weekday.
* LC_COLLATE  --> No, ICU collation scheme is used for both unicode and codepage mode. Sorting order is always the same, unicode
mode or not.
* LC_MONETARY --> No, there are CCA-CCD custom currency
formats and the DOLLAR format.

I only have a hazy understanding (at best!) of the following locale
categories, but I think none of them is relevant for SPSS.
* LC_MESSAGES
* LC_PAPER
* LC_NAME
* LC_ADDRESS
* LC_TELEPHONE
* LC_MEASUREMENT
* LC_IDENTIFICATION

Thank you!
 
Regards,

Albert-Jan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a

fresh water system, and public health, what have the Romans ever done for us?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

=====================
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