summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/fixtures/iso-8859-9-encoding.rb
blob: 61a691ff789d65f2aed72aaa36b501ffb0518bd5 (plain)
1
2
3
4
5
6
7
8
9
# -*- encoding: iso-8859-9 -*-
module StringSpecs
  class ISO88599Encoding
    def source_encoding; __ENCODING__; end
    def x_escape; [0xDF].pack('C').force_encoding("iso-8859-9"); end
    def ascii_only; "glark"; end
    def cedilla; "Ş"; end
  end
end