Skip to content

Commit 842a48b

Browse files
committed
source encoding: update the target version (v5.38, not 36)
1 parent e2cfb45 commit 842a48b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rfcs/rfc0007.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ appear to do so, but will behave correctly when printed to a UTF-8 terminal.
2424
All these behaviors can be explained, but can still surprise both beginner and
2525
expert. To eliminate surprise at runtime, this proposal intends to give the
2626
programmer a means to declare that non-ASCII bytes are a compile-time error.
27-
It also proposes to make that declaration implicit in "use v5.36" and later
27+
It also proposes to make that declaration implicit in "use v5.38" and later
2828
version declarations.
2929

3030
## Rationale
3131

32-
The biggest goal here is to make "use v5.36" sufficient to avoid runtime
32+
The biggest goal here is to make "use v5.38" sufficient to avoid runtime
3333
confusion falling out of non-ASCII source. Given the complexity of "just make
3434
it all Unicode and UTF-8", the goal is to alert the programmer that they've
3535
used non-ASCII in their source without declaring that they've thought about it.
@@ -53,7 +53,7 @@ be raised when reading a non-ASCII byte in the source.
5353
`no source::encoding` will return to the default behavior of reading bytes into
5454
codepoints.
5555

56-
`use v5.36` (and later) will implicitly set the source encoding to ASCII.
56+
`use v5.38` (and later) will implicitly set the source encoding to ASCII.
5757
Using the feature bundle will have no effect on source encoding.
5858

5959
## Backwards Compatibility
@@ -108,7 +108,7 @@ behavior to prefer UTF-8 to ASCII.
108108

109109
## Rejected Ideas
110110

111-
The first proposal to eliminate non-ASCII source footguns was to have use v5.36
111+
The first proposal to eliminate non-ASCII source footguns was to have use v5.38
112112
enable the utf8 pragma. The objection raised was that this would lead to new
113113
kinds of confusion related to decoded (text) strings being printed to
114114
filehandles with no encoding layer. Although this is explainable behavior, the

0 commit comments

Comments
 (0)