Closed ruudk closed 1 year ago
hrm it works there :
3> idna:encode("ΓΌber.de") 3> . "xn--ber-goa.de"
is your shell unicode?
Yes, the example with Uber works fine. But the one with Emoji's doesn't.
I'm using iTerm2 on macOS and that has support for unicode.
Try this:
:idna.encode("πππ.fm")
i'm not sure that code point (128065) is indeed disallowed in table 11. Maybe updating the table would work. I didn't check it yet.
I'm new to Erlang (only using Elixir atm) so I have no idea how to update the table. Are the instructions somewhere in this repository?
@benoitc if you have any tips how to proceed that would be much appreciated. I can submit a PR once I'm able to update the data.
@benoitc Handled in #36 What do you think? :)
I'm not able to convert emoji domains like:
While this works:
Am I doing something wrong here or is this not supported?