1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/string/fixtures/iso-8859-9-encoding.rb
2022-07-27 17:18:25 +02:00

9 lines
268 B
Ruby

# -*- 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