Skip to content

Commit

Permalink
Revert "Subtly change semantics of R:I.NORMALIZE_ENCODING"
Browse files Browse the repository at this point in the history
This reverts commit 22ea9d9.

This was done to accommodate PR #4231, but I think we need to get
back to the drawing board for that PR, as the reverted commit broke
the error reporting on: Blob.new(65,66,67).decode("iso-8859-2")
  • Loading branch information
lizmat committed Mar 9, 2021
1 parent d18653c commit 0f44ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/Rakudo/Internals.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ my class Rakudo::Internals {
nqp::atkey($encodings,encoding),
nqp::ifnull(
nqp::atkey($encodings,nqp::lc(encoding)),
Nil
nqp::lc(encoding)
)
),
'utf8'
Expand Down

0 comments on commit 0f44ab2

Please sign in to comment.