summaryrefslogtreecommitdiffstats
path: root/graphics/gegl/files/patch-tools_create-reference.rb
blob: 9f3cc579a835814408670fcfbc12a5dee79e5809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- tools/create-reference.rb.orig	2013-06-17 14:02:54.000000000 +0000
+++ tools/create-reference.rb	2013-06-17 14:03:31.000000000 +0000
@@ -5,6 +5,11 @@
 # Use under a public domain license.
 #
 
+if RUBY_VERSION != /^1.8/
+  Encoding.default_external = Encoding::UTF_8
+  Encoding.default_internal = Encoding::UTF_8
+end
+
 class Argument
     attr_accessor :name, :data_type, :doc
     def initialize
OpenPOWER on IntegriCloud