Curt Hibbs wrote:
>[from the ruby-talk list]
>From: Wayne Magor
>>Is it possible to output Russian text using wxRuby? I know
it''s
>>supported in Tk, but I can''t find anything about it using
wxWidgets.
>>Can someone show an example of how it is done?
>>
>>Does all the text have to be supplied as, for example, \u0420\u0443,
>>or is there another method that people normally use?
I have not yet experimented with unicode and wxRuby. It is an important
feature, and wxWidgets does support unicode, so wxRuby will definitely
handle it within the next few releases. Coincidentally, I have been
thinking about possible unicode implementations for the last few days.
Currently, I believe wxRuby will not link with a unicode-build of
wxWidgets. And wxRuby does not explicitly do any unicode work. So at
this time, I doubt any unicode would work inside wxRuby.
The near-term "roadmap" for wxRuby is roughly:
1. Release 0.3 with minor enhancements over the current 0.2.1
2. Switch to SWIG
3. Fix memory handling (mostly leaks)
After that, we would probably fill in missing classes and methods, and
then I would hope to take on unicode. Probably after that would be
wrapping wxScite.
Cheers,
Kevin
P.S. wxRuby might handle 1251 or KOI-8 or 8859-5 encoding already, if
that is the native locale of your operating system. I haven''t tried it.