yang cao 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,'»ú') Assuming you're using wxruby2, which you should be, ensure that your script is in UTF8 encoding, and that you have $KCODE = 'u' at the top of it. Have a look at the demo samples/text/unicode.rb which demonstrates the use of controls with labels and content in numerous different scripts including Chinese. The wxruby-users mailing list is a good place for any questions about the toolkit: http://rubyforge.org/mail/?group_id=35 alex