Hello,
I had the same String encoding error when using win32-dir. I proposed the following solution:
http://rubyforge.org/forum/forum.php?thread_id=49201&forum_id=319
which was to force the reset of the Encoding of the data received from the Windows API to the Default External Encoding. In my case that made the String's Encoding turn into Shift JIS.
For your case, try modifying win32/eventlog.rb in the same way as above.
|