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

Start a Unicode library implementation #3

Merged
merged 2 commits into from
Jun 15, 2024
Merged

Start a Unicode library implementation #3

merged 2 commits into from
Jun 15, 2024

Conversation

mcy
Copy link
Owner

@mcy mcy commented Jun 15, 2024

This change adds:

  • String manipulation operations to best::str.
  • Basic properties to best::rune.
  • Fixes bugs in best::utf8::encode().
  • Adds tests for all of the above.

We also added bytes.h, which are convenient wrappers over the mem* functions. We also deleted encoding.h and dropped support for stateful encodings. Non-synchronizing encodings are still supported, but under some more constrained hypotheses.

@mcy mcy merged commit 3c3653e into main Jun 15, 2024
2 checks passed
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.

1 participant