Using non-ASCII characters in variable substitutions
Closed / Duplicate2226781fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-11-05 21:57:16
Hello, I am not sure if this is a bug, but the last line (console) seems strange : (jmcuaz) 1 % set année 2008 2008 (jmcuaz) 2 % set année 2008 (jmcuaz) 3 % puts $année can't read "ann": no such variable Thanks Jean-Marie
dgpplain2008-11-06 05:53:12
Duplicate of 408568. Changing this would be a fundamental revision to the parser, requiring revised documentation of the basics of the language (Tcl.n), so likely a TIP involved.
jmcuazplain2008-11-06 06:48:48
Ok. Thanks, but in this case, a change of bug # 408568 description/subject would be usefull as it states to be only about "non latin-1 characters". The pb described here points to *some* latin-1 characters. (jmcuaz.P360) 1 % encoding system cp1252 (jmcuaz.P360) 2 % encoding system iso8859-1 (jmcuaz.P360) 3 % encoding system iso8859-1 (jmcuaz.P360) 4 % set année 2008 2008 (jmcuaz.P360) 5 % set année 2008 (jmcuaz.P360) 6 % puts $année can't read "ann": no such variable Jean-Marie
dgpplain2008-11-06 06:54:07
ok, done.
Meanwhile, you should know about
the workaround available to you:
% set année 2008
2008
% puts ${année}
2008
dkf Ticket [2226781fff]: 1 change
[History diff]2008-11-06 16:08:44
Log in (anonymous is fine) to add a comment.