For Programmers: Free Programming Magazines  


Home > Archive > Tcl > September 2006 > Expect script on Russian Windows doesn't interpret correctly









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Expect script on Russian Windows doesn't interpret correctly
Proshuto

2006-09-27, 8:01 am

Hi all,
I've written an Expect script which runs TFTP transfer command from
Windows' command line and waits for replies. Since it is a Russian
Windows all the replies arrive in Russian. Expect script does not catch
these replies although it waits for them.
What might be the problem. ?

Expect: 5.21
Tcl: 8.0

Gerald W. Lester

2006-09-27, 8:01 am

Proshuto wrote:
> Hi all,
> I've written an Expect script which runs TFTP transfer command from
> Windows' command line and waits for replies. Since it is a Russian
> Windows all the replies arrive in Russian. Expect script does not catch
> these replies although it waits for them.
> What might be the problem. ?
>
> Expect: 5.21
> Tcl: 8.0
>


I *think* unicode support was added in 8.1 -- in any case, you may want to
upgrade to a modern version of Tcl (8.4.x) and Expect (5.43) and see if the
problem goes away.

--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
Michael Schlenker

2006-09-27, 8:01 am

Gerald W. Lester schrieb:
> Proshuto wrote:
>
> I *think* unicode support was added in 8.1 -- in any case, you may want
> to upgrade to a modern version of Tcl (8.4.x) and Expect (5.43) and see
> if the problem goes away.
>


Get a recent ActiveTcl download which includes the newer Expect for
Windows and try again.

Michael
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com