Displaying 1 result from an estimated 1 matches for "bjansen".
Did you mean:
jansen
2011 Mar 02
2
[ win32utils-Bugs-28904 ] Gem win32-eventlog v0.5.2 on Ruby 1.9.1 and 1.9.2
...y: Ben Jansen (aogail)
Date: 2011-03-02 15:57
Message:
The following patch fixes this error for me. I based this upon the post at <http://www.ruby-forum.com/topic/1004404>.
--- C:/Ruby192/lib/ruby/gems/1.9.1/gems/win32-eventlog-0.5.2/lib/win32/eventlog.rb Wed Mar 02 15:51:40 2011
+++ \Users\bjansen\Development\eventlog.rb Wed Mar 02 15:51:25 2011
@@ -11,6 +11,9 @@
# Return the portion of the string up to the first NULL character. This
# was added for both speed and convenience.
def nstrip
+ if !self.ascii_only?
+ self.force_encoding($>.external_encoding || Encodin...