Skip to content

Commit cde065c

Browse files
Clarify documentation for encoding of String.new without arguments
[Bug #21025]
1 parent 50c2c4b commit cde065c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/encodings.rdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ see {Script Encoding}[rdoc-ref:encodings.rdoc@Script+Encoding].
144144

145145
The default encoding for a string created with method String.new is:
146146

147+
- For no argument, ASCII-8BIT.
147148
- For a \String object argument, the encoding of that string.
148149
- For a string literal, the script encoding;
149150
see {Script Encoding}[rdoc-ref:encodings.rdoc@Script+Encoding].

0 commit comments

Comments
 (0)