2003-03-10 [長年日記]

国際化ドメイン

国際化ドメインのRFCが出たみたいです。

RFC3490
Internationalizing Domain Names in Applications (IDNA)
RFC3491
Nameprep: A Stringprep Profile for Internationalized Domain Names (IDN)
RFC3492
Punycode: A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)

そのうち対応したいところですね。ちゃんと読んでいないのであれですが、Punycodeの変換自体は簡単な話のようですが、正規化するのが面倒そうな雰囲気です。

idnkit

idnkitなんていうのがあるようですね。ここからコードを引っ張ってくれば良さそうです。

その前に、Winsock自体が対応してくれればうれしいのですが。