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