summaryrefslogtreecommitdiff
path: root/spec/ruby/core/string/fixtures/utf-8-encoding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/fixtures/utf-8-encoding.rb')
-rw-r--r--spec/ruby/core/string/fixtures/utf-8-encoding.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/core/string/fixtures/utf-8-encoding.rb b/spec/ruby/core/string/fixtures/utf-8-encoding.rb
new file mode 100644
index 0000000000..fd243ec522
--- /dev/null
+++ b/spec/ruby/core/string/fixtures/utf-8-encoding.rb
@@ -0,0 +1,7 @@
+# -*- encoding: utf-8 -*-
+module StringSpecs
+ class UTF8Encoding
+ def self.source_encoding; __ENCODING__; end
+ def self.egrave; "é"; end
+ end
+end