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

Tlsa/ucs4 normalize #88

Merged
merged 2 commits into from
Nov 21, 2016
Merged

Tlsa/ucs4 normalize #88

merged 2 commits into from
Nov 21, 2016

Conversation

tlsa
Copy link
Contributor

@tlsa tlsa commented Nov 20, 2016

This exposes the functionality to perform the following options on a UTF-32 sequences, that was already present in utf8proc_reencode:

  • UTF8PROC_NLF2LS
  • UTF8PROC_NLF2PS
  • UTF8PROC_NLF2LF
  • UTF8PROC_STRIPCC
  • UTF8PROC_COMPOSE
  • UTF8PROC_STABLE

Does this look reasonable? It would let the NetSurf project (http://ns-b.org/) drop its fork, and use upstream utf8proc.

This creates utf8proc_normalize_utf32() which takes and returns
a UTF-32 string, applying the following options:

- UTF8PROC_NLF2LS
- UTF8PROC_NLF2PS
- UTF8PROC_NLF2LF
- UTF8PROC_STRIPCC
- UTF8PROC_COMPOSE
- UTF8PROC_STABLE

The utf8proc_reencode() function has been updated to call the
new utf8proc_normalize_utf32().
@stevengj stevengj merged commit 70bbed8 into JuliaStrings:master Nov 21, 2016
@tlsa tlsa deleted the tlsa/ucs4-normalize branch November 23, 2016 15:21
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.

2 participants