[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
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
to elixir-l...@googlegroups.com
Yes, please. Since we now simply redirect to Erlang, this is very reasonable.
Reply all
Reply to author
Forward
0 new messages