Skip to content
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

Replacing ASCII with just UTF8 as the new and only 'String'? #8

Open
PaulFidika opened this issue Jan 26, 2023 · 0 comments
Open

Replacing ASCII with just UTF8 as the new and only 'String'? #8

PaulFidika opened this issue Jan 26, 2023 · 0 comments

Comments

@PaulFidika
Copy link
Contributor

I've been thinking about this: Move core has two 'string' libraries; ascii and utf8. Most developers will find this somewhat confusing at first. In order to reduce complexity for devs first joining, I might simply remove all support and reference to ascii, and simply refer to utf8 as 'string'. This would simplify things a bit.

The only issue with this I can think of is that some devs might want their strings to be an ascii-only subset of utf8 strings, and they might want to enforce this at the byte-level, rather than doing their own custom application-level input validation.

Thoughts?

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

No branches or pull requests

1 participant