Description: Set default external encoding with Ruby 1.9 for the manual
 This is needed to successfully build the manual on systems with non unicode
 locale
Author: Cédric Boutillier <cedric.boutillier@gmail.com>
Bug: https://github.com/prawnpdf/prawn/pull/358
Last-Update: 2012-06-12

--- a/manual/manual/manual.rb
+++ b/manual/manual/manual.rb
@@ -2,6 +2,8 @@
 #
 # Generates the Prawn by example manual.
 #
+Encoding.default_external = "UTF-8" if defined? Encoding
+
 require File.expand_path(File.join(File.dirname(__FILE__),
                                    %w[.. example_helper]))
 
