From: Daniel Berger Date: 2007-12-26T23:36:49+09:00 Subject: Re: How to convert a ruby string into WChar string in ruby? On Dec 25, 4:23 am, "Wu Nan" wrote: > Hi, > I want to use the Win32API, however the API I use need the WChar string as a > parameter. > So how can I convert a ruby string into WChar String? > > Thanks very much. require 'windows/unicode' include Windows::Unicode str = multi_to_wide(str) Regards, Dan