Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #4232 from codesections-forks/utf32
Remove utf32 from encodings lists for MoarVM
  • Loading branch information
lizmat committed Mar 3, 2021
2 parents ee5244b + 9c60346 commit 1861284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core.c/Encoding/Registry.pm6
Expand Up @@ -15,7 +15,9 @@ my class Encoding::Registry {
nqp::list('utf16', 'utf-16'),
nqp::list('utf16le', 'utf-16le', 'utf16-le', 'utf-16-le'),
nqp::list('utf16be', 'utf-16be', 'utf16-be', 'utf-16-be'),
#?if !moar
nqp::list('utf32', 'utf-32'),
#?endif
nqp::list('ascii'),
nqp::list('iso-8859-1','iso_8859-1:1987','iso_8859-1','iso-ir-100',
'latin1','latin-1','csisolatin1','l1','ibm819','cp819'),
Expand Down
2 changes: 2 additions & 0 deletions src/core.c/Rakudo/Internals.pm6
Expand Up @@ -311,9 +311,11 @@ my class Rakudo::Internals {
'utf-16be', 'utf16be',
'utf16-be', 'utf16be',
'utf-16-be', 'utf16be',
#?if !moar
# utf32
'utf32', 'utf32',
'utf-32', 'utf32',
#?endif
# ascii
'ascii', 'ascii',
# iso-8859-1 according to http://de.wikipedia.org/wiki/ISO-8859-1
Expand Down

0 comments on commit 1861284

Please sign in to comment.