[Proposal] Add String.normalize/2 for :nfkd and :nfkc
23 views
Skip to first unread message
Kip
unread,
May 18, 2020, 1:30:13 PM5/18/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to elixir-lang-core
The Unicode compatibility (as apposed to canonical) composition is also implemented in the `:unicode` module and would be trivial to add to the `String.normalize/2` function. It would also complete the implementation of all normal forms defined by Unicode. If this is a reasonable proposal I will happily send a PR.
José Valim
unread,
May 18, 2020, 1:34:08 PM5/18/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to elixir-l...@googlegroups.com
Yes, please. Since we now simply redirect to Erlang, this is very reasonable.