Update configuration docs to indicate that utf-8 is now the default
Docs for #2031, /cc #2029.
This commit is contained in:
parent
45a5671c55
commit
407b9b577b
|
@ -109,10 +109,11 @@ class="flag">flags</code> (specified on the command-line) that control them.
|
||||||
<p class="description">
|
<p class="description">
|
||||||
Set the encoding of files by name. Only available for Ruby
|
Set the encoding of files by name. Only available for Ruby
|
||||||
1.9 or later).
|
1.9 or later).
|
||||||
The default value is nil, which uses the Ruby default,
|
The default value is <code>utf-8</code> starting in 2.0.0,
|
||||||
<code>ASCII-8BIT</code>.
|
and <code>nil</code> before 2.0.0, which will yield the Ruby
|
||||||
Available encoding for the ruby in use, can be shown by
|
default of <code>ASCII-8BIT</code>.
|
||||||
command <code>ruby -e 'puts Encoding::list.join("\n")'</code>
|
Available encodings can be shown by the
|
||||||
|
command <code>ruby -e 'puts Encoding::list.join("\n")'</code>.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td class='align-center'>
|
<td class='align-center'>
|
||||||
|
|
Loading…
Reference in New Issue