Actions
Bug #20874
openDifference in documentation for `irb -U` between `man irb` and `irb --help`
Description
There is a difference in documentation for irb -U
between man irb
and irb --help
.
-
man irb
: Same as `ruby -U' . Sets the default value for internal encodings (Encoding.default_internal) to UTF-8. -
irb --help
: Set external and internal encodings to UTF-8.
Which is correct?
The implementation matches that of --help
. However, it also seems to have been implemented with the intention of behaving the same as ruby -U
.
No data to display
Actions
Like0