How to convert IDN to ASCII?

后端 未结 3 727
北海茫月
北海茫月 2020-12-15 09:02

What is the best way to convert an internationalized domain name to its ASCII-form?

I want to convert Bücher.ch into xn--

3条回答
  •  春和景丽
    2020-12-15 09:40

    Have a look at the GNU IDN Library - Libidn. The introduction says that C# libraries are available.

提交回复
热议问题