Skip to content

for maximal portability, use only ASCII #905

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

Merged
merged 4 commits into from
Mar 1, 2025
Merged

for maximal portability, use only ASCII #905

merged 4 commits into from
Mar 1, 2025

Conversation

lemire
Copy link
Member

@lemire lemire commented Mar 1, 2025

In 2025, everyone should have adopted Unicode and UTF-8 ought to be the standard.
It is perfectly fine to use UTF-8 in C++ in such cases.

Unfortunately, there are many legacy systems.

For maximal support, adopting ASCII is the only safe path.

@lemire lemire requested a review from anonrig March 1, 2025 18:08
@lemire lemire linked an issue Mar 1, 2025 that may be closed by this pull request
@@ -110,7 +110,7 @@
}
},
{
"comment": "Cant switch from URL containing username/password/port to file",
"comment": "Can't switch from URL containing username/password/port to file",
Copy link
Member

Choose a reason for hiding this comment

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

We shouldn't change this file. If we do, the next WPT updater script will override it.

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@lemire
Copy link
Member Author

lemire commented Mar 1, 2025

@anonrig Should be good now. All of our code should be ASCII.

We need to do more to promote UTF-8 as the default in C++.

Copy link
Member

@anonrig anonrig left a comment

Choose a reason for hiding this comment

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

Amazing work

@anonrig anonrig merged commit 8127fb5 into main Mar 1, 2025
38 checks passed
@anonrig anonrig deleted the just_ascii branch March 1, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build errors in CJK locales
2 participants