On second thought (and with a little more rest), I'm pretty positive this my problem :).
-Charles On Fri, Apr 8, 2011 at 10:42 PM, Charles Strahan < charles.c.stra...@gmail.com> wrote: > Hello, > > I'm getting the following error while running one of the examples (Enumerate > Top Level Windows <https://github.com/ffi/ffi/wiki/Windows-Examples>) from > the FFI wiki: > > *Encoding::InvalidByteSequenceError: character U+7453 can't be encoded in > IBM437* > * from (irb):26:in `puts'* > > The example works fine in MRI 1.9.2, so I'm curious if this might be a bug, > or if I'm screwing something up in my FFI impl. Official FFI uses > *str_new<http://www.ruby-doc.org/doxygen/1.8.4/string_8c-source.html#l00078> > *, which in turn performs a simple *memcopy* given a *char**, which is > more or less what I'm doing to construct my string... > > At any rate, the example, which features callbacks, makes it this far > (which is exciting): > > *[001] Found ''* > *[002] Found ''* > *[003] Found ''* > *[004] Found ''* > *[005] Found ''* > *[006] Found ''* > *[007] Found ''* > *[008] Found ''* > *Encoding::InvalidByteSequenceError: character U+7453 can't be encoded in > IBM437* > * from (irb):26:in `puts'* > > > -Charles >
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core