scinote-web/config/environment.rb
Luka Murn 9c28608fbf Fix encoding when cloning tables
Closes SCI-1175.
2017-04-13 17:00:27 +02:00

9 lines
258 B
Ruby

# Load the Rails application.
require File.expand_path('../application', __FILE__)
# Set the encoding
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
# Initialize the Rails application.
Rails.application.initialize!