Hi
Please find some bits n pieces for CVS for Wxruby2''s unicode support
1) a patch for typemap.i (typemap_unicode.patch) - this makes methods
that return strings (eg TextCtrl#get_value) return them as proper UTF8
strings. Currently, if the strings contain non-latin characters, an
empty string is returned. This should only affect unicode builds,
according to the method docs.
2) a sample (unicode.rb) and accompanying sample text file (utf8.txt)
that exercises some of the unicode features, such as displaying controls
with non-latin characters, and input/output of UTF-8 strings.
If the iconv library is installed, it also has a set of menu options for
importing and exporting text files in various encodings. It''s intended
to show how easy writing international apps can be using just ruby''s
stdlibs and wx.
Thanks to Kevin for kicking this off - hope this can be a real selling
point for wx as a GUi for ruby.
cheers
alex
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users