Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-09-03
09:20 • Ticket [1264215fff] Use Ñ status still Closed with 6 other changes artifact: 9fa4d1a30c user: sf-robot
09:20 • Closed ticket [1264215fff]. artifact: 55c9357392 user: sf-robot
2005-08-20
07:47 • Ticket [1264215fff]: 4 changes artifact: 7d1356a746 user: msofer
04:37 • Ticket [1264215fff]: 4 changes artifact: 74af57c4f2 user: msofer
01:23 • Pending ticket [1264215fff]. artifact: db65621e27 user: hobbs
2005-08-19
18:16 • New ticket [1264215fff]. artifact: 9497d2b6a2 user: aalbahe680502

Use Ñ

Closed / Invalid1264215fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-08-19 18:16:00
I was trying to use the word Ñ in a validation script for 
the password label, the name of the password label is in 
spanish "CONTRASEÑA", unfortunately when I run this 
script got an error message that cant find 
the "CONTRASEÑA" variable. this is the way that I do 
the caption for password, I will apreciatte any idea or 
solution to this problem, thanks in advance

# Ruta de la aplicacion
sso run -path {D:\sea752\client\BIN\siebel.exe /c 
d:\sea752\client\bin\ESN\uagent_desa.cfg}

#Proceso
set _ERRORMODE trace_stop
sso window -title "Siebel Call Center"
sso setfield -label "ID de usuario:" -value $_LOGINNAME
sso setfield -label "Contrase@ña:" -value 
$_PASSWORD
sso selection -control combo -pos right \ -
label "Conectar a:" -item "Servidor"
sso click -label "Aceptar"

I'm use spanish
hobbsplain2005-08-20 01:23:05
Logged In: YES 
user_id=72656

There isn't anything in the above script which indicates the
usage of a variable with Ñ in it.  You likely have to use
the ${varname} form for non-ascii varnames.
msoferplain2005-08-20 04:37:18
Logged In: YES 
user_id=148712

I do not see any problem in tcl itself:
% info patch
8.4.7
% set contraseña aha
aha
% set contraseña
aha
% set q contraseña
contraseña
% set $q
aha

Which raises the question: where does the 'sso' command come
from? Is it a c-coded extension? Maybe that is the one that
cannot handle non-ascii.
msoferplain2005-08-20 07:47:26
Logged In: YES 
user_id=148712

To clarify what Jeff said about ${...}:

% set contraseña aha
aha
% puts $contraseña
can't read "contrase": no such variable
% puts ${contraseña}
aha
sf-robot Closed ticket [1264215fff]. [History diff]2005-09-03 09:20:33
sf-robotplain2005-09-03 09:20:36
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.