error: Text value unmappable in the current server locale

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

error: Text value unmappable in the current server locale

Dipl.-pol. N. Göttling
Hello,

I¹m using SPSS 16.0.1 Mac and I wanted to save a syntax file in a normal
folder, but an error message appeared: ³Text value unmappable in the current
server locale². So I saved it on my desktop what was possible. After that, I
moved the file to the folder I could not save in. Now I want to open it from
inside SPSS, but the same error occurs. Because I never had the problem
before, why is it now occuring?

Best wishes
-N. Göttling

====================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
Reply | Threaded
Open this post in threaded view
|

AW: error: Text value unmappable in the current server locale

willers
Good morning,
do you have Umlaute or Esszet in the file name? These things are not known
in Chicago.

Reinhart Willers (Uni Duesseldorf, written without the Umlaut ü)

> -----Ursprüngliche Nachricht-----
> Von: SPSSX(r) Discussion [mailto:[hidden email]] Im Auftrag von
> Dipl.-pol. N. Göttling
> Gesendet: Mittwoch, 2. April 2008 09:33
> An: [hidden email]
> Betreff: error: Text value unmappable in the current server locale
>
> Hello,
>
> I¹m using SPSS 16.0.1 Mac and I wanted to save a syntax file in a normal
> folder, but an error message appeared: ³Text value unmappable in the
> current
> server locale². So I saved it on my desktop what was possible. After that,
> I
> moved the file to the folder I could not save in. Now I want to open it
> from
> inside SPSS, but the same error occurs. Because I never had the problem
> before, why is it now occuring?
>
> Best wishes
> -N. Göttling
>
> =======
> 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

=====================
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
Reply | Threaded
Open this post in threaded view
|

Re: AW: error: Text value unmappable in the current server locale

Dipl.-pol. N. Göttling
Indeed that¹s it. Sometimes it¹s so easy. Thank you.

-N. Göttling


Von: Reinhart Willers <[hidden email]>
Organisation: Uni Düsseldorf Universitätsrechenzentrum
Datum: Wed, 02 Apr 2008 10:12:54 +0200
An: "'Dipl.-pol. N. Göttling'" <[hidden email]>,
<[hidden email]>
Cc: Axel Buchner <[hidden email]>
Betreff: AW: error: Text value unmappable in the current server locale

Good morning,
do you have Umlaute or Esszet in the file name? These things are not known
in Chicago.

Reinhart Willers (Uni Duesseldorf, written without the Umlaut ü)

> -----Ursprüngliche Nachricht-----
> Von: SPSSX(r) Discussion [mailto:[hidden email]] Im Auftrag von
> Dipl.-pol. N. Göttling
> Gesendet: Mittwoch, 2. April 2008 09:33
> An: [hidden email]
> Betreff: error: Text value unmappable in the current server locale
>
> Hello,
>
> I¹m using SPSS 16.0.1 Mac and I wanted to save a syntax file in a normal
> folder, but an error message appeared: ³Text value unmappable in the
> current
> server locale². So I saved it on my desktop what was possible. After that,
> I
> moved the file to the folder I could not save in. Now I want to open it
> from
> inside SPSS, but the same error occurs. Because I never had the problem
> before, why is it now occuring?
>
> Best wishes
> -N. Göttling
>
> =======
> 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

====================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
Reply | Threaded
Open this post in threaded view
|

Re: error: Text value unmappable in the current server locale

Peck, Jon
In reply to this post by Dipl.-pol. N. Göttling
With SPSS 16, when you are working in the syntax window, your code is in Unicode, which handles all kinds of characters.  If the SPSS backend is not in Unicode mode (it is not in Unicode by default) or if you choose to save your file in the local encoding on the File>Save As dialog, the file is converted to the character set of your current locale.  If there are characters in it that cannot be represented in that locale, you get the warning message.

So, for example, if you were in a German locale but your syntax contained central European characters such as some characters used in Polish, they could not be saved.  (This has always been true of SPSS in the past, but it used not to check things like this.).

There are two solutions possible.  One is to set the SPSS locale to match your syntax, e.g.,
set locale=polish.
By default, SPSS is running in the user locale as defined by the operating system, but you can choose a different one in syntax.

The other and better solution is to set SPSS to Unicode mode and/or save your syntax as Unicode.  You can save the syntax as Unicode on the syntax Save As dialog using the encoding field.  You can set SPSS to Unicode mode on Edit>Options>General or with SET UNICODE ON.

There are a few inevitable syntax incompatibilities in Unicode mode having mainly to do with the string functions and string field widths, which is why SPSS 16 is not Unicode by default.

HTH,
Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Dipl.-pol. N. Göttling
Sent: Wednesday, April 02, 2008 1:33 AM
To: [hidden email]
Subject: [SPSSX-L] error: Text value unmappable in the current server locale

Hello,

I¹m using SPSS 16.0.1 Mac and I wanted to save a syntax file in a normal
folder, but an error message appeared: ³Text value unmappable in the current
server locale². So I saved it on my desktop what was possible. After that, I
moved the file to the folder I could not save in. Now I want to open it from
inside SPSS, but the same error occurs. Because I never had the problem
before, why is it now occuring?

Best wishes
-N. Göttling

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

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