-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add utf8proc for handling character properties
Based on JuliaStrings/utf8proc@d81308f. Closes #722
- Loading branch information
Showing
12 changed files
with
16,101 additions
and
796 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
29524d0
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.
This one pretty much doubles the size of tig executable, hope it's worth it...
29524d0
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.
I understand your concern. That's 300kB less to store XML and an occasional MP3. Once Unicode will add more turd emojis the move to utf8proc will clearly be worth it since it will be trivial to regenerate and update.
Seriously though, I am not an expert in Unicode support but found utf8proc to be a great library; simple API, easy to embedded, fairly complete (Unicode 10.0.0 currently supported). It might still make sense to look into making it optional in favour of libicu (see #722), but in terms of return of investment I hope it will pay off to have good Unicode support offered without dependencies.