From: Edwin Fine Date: 2006-12-04T18:29:18+09:00 Subject: Re: tk.rb warning in Turtle Graphics (#104) Hidetoshi NAGAI wrote: > Do you use the method "draw" at the end of callback operation? > If so, the method returns the result to the Tcl/Tk interpreter. > Then, the result (a Ruby's object) is converted to a string. > > Usually, an object of TkObject or its subclasses is converted to > its @path value which is a string. > And when pass the string to Tcl/Tk side, @encoding check is required. > > nil or a numeric doesn't need @encoding check. Thanks for the explanation. This was driving me nuts :) -- Posted via http://www.ruby-forum.com/.