Skip to content

perlrun: add caution that the -C flag does not validate nor produce UTF-8 #23357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: blead
Choose a base branch
from

Conversation

Grinnz
Copy link
Contributor

@Grinnz Grinnz commented Jun 5, 2025

The documentation for the -C command-line switch currently implies that it works in UTF-8, which is not quite the reality, since it actually only operates in Perl's internal upgraded encoding. Try to clarify this with a cautionary paragraph and referring to it as "utf8" instead.


  • This set of changes does not require a perldelta entry.

@Grinnz Grinnz force-pushed the perlrun-c-switch-utf8 branch from 363a10e to 1862ee1 Compare June 5, 2025 10:18
Copy link
Contributor

@khwilliamson khwilliamson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants