1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: force default external encoding to UTF-8
This is required to make specs relying on Unicode characters to pass
in building environment with C locale.
Origin: vendor
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: not-needed
Last-Update: 2013-08-15
--- a/spec/rspec/expectations/differ_spec.rb
+++ b/spec/rspec/expectations/differ_spec.rb
@@ -1,4 +1,7 @@
# encoding: utf-8
+
+Encoding.default_external="UTF-8" if defined? Encoding
+
require 'spec_helper'
require 'ostruct'
|