summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/fixtures/iso-8859-9-encoding.rb
blob: cfa91dedc3a6414982e61f0a2247811e73345c48 (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 # S-cedilla
  end
end