mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
9 lines
268 B
Ruby
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
|