-
Notifications
You must be signed in to change notification settings - Fork 18
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
Unicode Support #36
Unicode Support #36
Conversation
Thanks so much for the PR! I've been pretty busy with work recently but I'll try and look at this sometime this weekend :) This is honestly some really good stuff 😄 Considering the problems mentioned in #5 (comment), I think we could put this behind some sort of feature toggle, like running Just glimpsed at your PR and I have to say it's really neat! I'll definitely try and get this merged when I have the time (might ask questions/request mild changes + documentation, but if you're too busy I'll get around to it sooner or later). |
62d274b
to
bee5c3c
Compare
…ntime configuration
That's great news! I've rewritten the whole decoder though and it should be much cleaner now. The architecture of my code allows for simple extension (looking at you utf-16) and supports runtime configuration. However, the code still needs some better test and refactoring as it is partly redundant to |
... and escaping is missing for control, whitespace and other non displayable characters. |
81ee98c
to
45065d8
Compare
I made a few more changes and now it almost works as I wish. Also, it should be trivial to integrate other Unicode encodings. A few quirks I observed:
Personally, I think solving these issues is far beyond the scope of this little feature and exceeds my Unicode knowledge anyway. Since all this is optional to the user, I'd keep it as is Demo Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a couple of questions/comments/requests! Let me know what you think. If you're too busy to work on this anymore, I can also help pick up the work, but again, I really appreciate the PR :)
Sorry for leaving you hanging! I think this is great and I'll merge it now; I'll get around to creating issues for smaller things/concerns (e.g. better escape characters/colors as you mentioned) as I find the need to. I should probably get around to testing and all that other good stuff too.. Thank you again for your contribution, it genuinely means a lot to me 😄 I'm looking to publish another release by the end of the year, but let me know if you'd want me to try to do something earlier and I'll try and fit in what I want by then 🙂 |
Cool cool :) By the end of the year I'll have more spare time and may jump in again if I feel like doing some Rust hacking... Let's see :) |
This PR explores potential Unicode support, see discussion at #5