On 3/31/07, yang cao <caoyangruby / gmail.com> wrote:> I want to use Chinese characters in wxRuby,like this:> Wx::Button.new(@panel,-1,'Chinese characters wanted to be placed')> also in Chinese is:> Wx::Button.new(@panel,-1,'')>> but I get an empty button...>> how can I do?> thanks>>
This works for me.I cut this out of an old program I was trying.
Button.new(panel, -1, "й", Point.new(10,125), Size.new(100,25))
Harry


-- 
http://www.kakueki.com/ruby/list.htmlJapanese Ruby List Subjects in English