I need a simple ASP-function that can convert from IDN-domainnames back and forth.
Example:? räksmörgå[login to view URL] ->? [login to view URL] ->? räksmörgå[login to view URL]
The functions should look like this:
* toIDN(str) - converts to punycode
* fromIDN(str) - converts from punycode
Note: I need this in old ASP (VBscript), not .NET.
## Deliverables
I just want to input the domain (eg: [login to view URL]) and get the same output, but converted (eg: räksmörgå[login to view URL]).