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

fix: update utf-8 encoding and decoding implementations #89

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

backrunner
Copy link
Contributor

To fix: #88
The new implementations can handle the 4 bytes unicode emoji characters.

@FRSgit
Copy link
Member

FRSgit commented Sep 14, 2024

Hi @backrunner!

Thanks for the contribution - it's great to see that you've reacted on the issue you've found! ❤️

As I wrote in another comment - I think there was a specific corner case that I handled in my code, I need to find it once again. Also, I plan to add vitest test suite on the main branch, because your case should be handled in the tests to make sure we won't make the same mistake again in the future. I'll try to add it tomorrow.

And last, but not least - please run pnpm fix to fix linting issues ✅

@FRSgit FRSgit self-requested a review September 16, 2024 22:25
@FRSgit
Copy link
Member

FRSgit commented Sep 16, 2024

Nice, thanks for such great collaboration! I'm merging the PR and hope we'll e-meet each other again! 👋

@FRSgit FRSgit merged commit 7534308 into FRSOURCE:main Sep 16, 2024
4 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 16, 2024
## [1.0.78](v1.0.77...v1.0.78) (2024-09-16)

### Bug Fixes

* update utf8 encoding and decoding implementation to make it compatible with 4 bytes unicode ([#89](#89)) ([7534308](7534308))
Copy link

🎉 This PR is included in version 1.0.78 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

[Bug]: Cannot process 4 bytes unicode in right way
2 participants