Skip to content

Commit

Permalink
Clarify documentation for encoding of String.new without arguments
Browse files Browse the repository at this point in the history
[Bug #21025]
  • Loading branch information
deivid-rodriguez authored Jan 10, 2025
1 parent 50c2c4b commit cde065c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/encodings.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ see {Script Encoding}[rdoc-ref:encodings.rdoc@Script+Encoding].

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

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

0 comments on commit cde065c

Please sign in to comment.