From a93b1a26eb20cb29eaac48aa42c3c464a950ea3c Mon Sep 17 00:00:00 2001 From: Shigeya Suzuki Date: Thu, 29 Aug 2013 07:38:53 +0900 Subject: [PATCH] Documentation update for the encoding configuration --- site/docs/configuration.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/site/docs/configuration.md b/site/docs/configuration.md index 79d4a3cf..31bf7048 100644 --- a/site/docs/configuration.md +++ b/site/docs/configuration.md @@ -103,8 +103,12 @@ class="flag">flags (specified on the command-line) that control them.

Encoding

- Set the encoding of files. The default is the system encoding, - which determined by LANG environment variable. + Set the encoding of files by name. Only available for Ruby + 1.9 or later). + The default value is nil, which use Ruby default, + ASCII-8BIT. + Available encoding for the ruby in use, can be shown by + command ruby -e 'puts Encoding::list.join("\n")'