From 0f94ea530269d72eb9ffc9e6962c4f4788d31c29 Mon Sep 17 00:00:00 2001 From: Sergei Lebedev Date: Mon, 7 Nov 2011 14:08:18 +0400 Subject: [PATCH] Removed utf8_to_ascii -- use to_ascii() instead --- src/idna.erl | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/idna.erl b/src/idna.erl index 203b1ab..3afefd4 100644 --- a/src/idna.erl +++ b/src/idna.erl @@ -18,9 +18,6 @@ to_ascii(Domain) -> from_ascii(Domain) -> from_ascii(string:tokens(Domain, "."), []). -utf8_to_ascii(Domain) -> - to_ascii(xmerl_ucs:from_utf8(Domain)). - %%============================================================================ %% Helper functions %%============================================================================