benoitc / erlang-idna

Erlang IDNA lib
MIT License
43 stars 29 forks source link

Recommend `unicode` over `xmerl` function #15

Closed myronmarston closed 8 years ago

myronmarston commented 8 years ago

In publicsuffix-elixir, I used the code from the Usage section in your README. A user reported problems with xmerl and has opened seomoz/publicsuffix-elixir#23 to change our code to use unicode.characters_to_list/1 instead of xmerl_ucs.from_utf8/1.

However, I have very little familiarity with the erlang ecosystem (since I use Elixir as my main language, not Erlang) and even less familiarity with these libraries. Is there any reason I should not switch to using the unicode function? Does it make sense for your README to recommend it as well?

benoitc commented 8 years ago

thanks!

benoitc commented 8 years ago

just fro clarification even internally idna is not using wmerl, so the changes make totally sense :)