Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify default encoding #428

Merged
merged 1 commit into from Apr 24, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/nanoc/cli/commands/create-site.rb
Expand Up @@ -84,6 +84,9 @@ def array_to_yaml(array)
# will have the identifier “/about/” when turned off, but when turned on
# it will become “/about.html/” instead.
allow_periods_in_identifiers: false

# The default encoding for all files in `content/` and `layouts/`.
encoding: utf-8
EOS

DEFAULT_RULES = <<EOS unless defined? DEFAULT_RULES
Expand Down