hybridgroup / kidsruby

KidsRuby is a Ruby programming environment meant for kids to learn and have fun!
http://kidsruby.com
Other
333 stars 104 forks source link

fix garbled UTF-8 characters when using alert and ask #92

Closed silkycove closed 11 years ago

silkycove commented 11 years ago

Japanese characters are garbled on alert and ask dialog boxes on a windows environment. Encoding of String text, that containing UTF-8 Japanese characters, is set to "us-ascii". The problem is solved by setting encoding UTF-8. I believe internal encoding of KidsRuby is UTF-8, we safely set encoding to UTF-8. Please review the code.

deadprogram commented 11 years ago

Looks good, thanks!