Skip to content

Commit 8244ebc

Browse files
authored
Merge pull request #94 from ViugiNick/master
uncoding for >2.0 fixed (RUBY-15434)
2 parents b0fddb6 + 1fc3911 commit 8244ebc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/ruby-debug-ide/command.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def timeout(sec)
118118
def debug_eval(str, b = get_binding)
119119
begin
120120
str = str.to_s
121+
str.force_encoding('UTF-8') if(RUBY_VERSION > 2.0)
121122
to_inspect = Command.unescape_incoming(str)
122123
max_time = Debugger.evaluation_timeout
123124
@printer.print_debug("Evaluating %s with timeout after %i sec", str, max_time)

lib/ruby-debug-ide/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Debugger
2-
IDE_VERSION='0.6.1.beta4'
2+
IDE_VERSION='0.6.1.beta5'
33
end

0 commit comments

Comments
 (0)