On 10/22/07, venture Lee <liwenqiu / gmail.com> wrote:
> if use wxruby can solve my problem, example:
>
> require 'wx'
> puts Wx::Locale.get_system_encoding_name
>
> this code will output 'cp936' on my windows and output 'UTF8' on my linux.
> but  it need  wxruby,  i want to know how to implement same function without
> wxruby, thanks.

Look at the implementation of wxruby, then. That'll have the C
functions you need to call.

-austin
-- 
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
               * austin / halostatue.ca * http://www.halostatue.ca/feed/
               * austin / zieglers.ca