mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
force encoding to utf-8 for external
This commit is contained in:
parent
dcb224bf31
commit
3a1bdb38fd
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ ENV['RACK_ENV'] ||= 'development'
|
||||||
ENV['TZ'] = 'UTC'
|
ENV['TZ'] = 'UTC'
|
||||||
DIR_ROOT = File.expand_path File.dirname(__FILE__)
|
DIR_ROOT = File.expand_path File.dirname(__FILE__)
|
||||||
Encoding.default_internal = 'UTF-8'
|
Encoding.default_internal = 'UTF-8'
|
||||||
|
Encoding.default_external = 'UTF-8'
|
||||||
|
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
require 'json'
|
require 'json'
|
||||||
|
|
Loading…
Add table
Reference in a new issue