IDN, Punycode, dan validasi label
Nama domain internasional perlu diproses menurut aturan IDNA dan tabel LGR/IDN yang aktif untuk kategori. Contoh Unicode dan A-label tidak boleh dicampur secara sembarang dalam payload.
Internationalized domain names must follow IDNA and the active LGR/IDN tables for the category. Unicode labels and A-labels must not be mixed arbitrarily in provisioning payloads.
Cara kerja
Nama domain internasional perlu diproses menurut aturan IDNA dan tabel LGR/IDN yang aktif untuk kategori. Contoh Unicode dan A-label tidak boleh dicampur secara sembarang dalam payload.
- Normalisasikan input sesuai aturan IDNA dan konversi A-label bila API memerlukannya.
- Validasi keseluruhan label terhadap kategori dan tabel LGR yang aktif.
- Perlakukan kebijakan varian dan status reserved sebagai aturan registry, bukan sekadar sintaks RFC.
Pemisahan penulisan dan transport
Label U-label ditujukan untuk tampilan pengguna; A-label sesuai aturan IDNA diperlukan saat penyedia layanan mensyaratkan representasi ASCII. Jangan mengubah data Contact secara otomatis tanpa memahami aturan EAI.
How it works
Internationalized domain names must follow IDNA and the active LGR/IDN tables for the category. Unicode labels and A-labels must not be mixed arbitrarily in provisioning payloads.
- Normalize input under IDNA and convert to an A-label where required by the interface.
- Validate the full label against active category/LGR rules.
- Treat variants and reserved states as registry policy, not merely RFC syntax.
Separate display from transport
U-labels are for user display; A-labels follow IDNA when an ASCII representation is required by the service. Do not automatically rewrite Contact fields without considering EAI rules.