Project

General

Profile

« Previous | Next » 

Revision d713b529

Added by Alejandro Ramirez over 9 years ago

Ensure that UTF8 is used by rack

Closes GH-196, GH-198

View differences:

templates/server/config.ru.erb
# supposed to be running master.
#
# --cprice 2012-05-22
#
#Ensure UTF-8 is our default (sadly Ruby 1.9 sets to US-ASCII)
Encoding.default_external = Encoding::UTF_8 if defined? Encoding
require 'puppet/util/command_line'
# we're usually running inside a Rack::Builder.new {} block,

Also available in: Unified diff