Tk::UTF8_String (Class)

In: tk/lib/tk/encodedstr.rb
Parent: EncodedString

Methods

Constants

Encoding = 'utf-8'.freeze

Public Class methods

[Source]

# File tk/lib/tk/encodedstr.rb, line 94
    def self.new(str)
      super(self.subst_utf_backslash(str))
    end

Public Instance methods

to_backslash()

[Source]

# File tk/lib/tk/encodedstr.rb, line 98
    def to_backslash_sequence
      Tk::EncodedString.utf_to_backslash_sequence(self)
    end

[Validate]