summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r--ext/tk/lib/tk.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 4cb11363e1..e79d97ac8e 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -1577,6 +1577,9 @@ module Tk
def self.new(str)
super(str, 'utf-8')
end
+ def self.new_without_escape(str)
+ super(str, 'utf-8')
+ end
end
def Tk.UTF8_String(str)
Tk::UTF8_String.new(str)