Skip to content

RFC3492 Punycode implementation for CHICKEN Scheme

Notifications You must be signed in to change notification settings

caolan/chicken-punycode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Punycode

A CHICKEN Scheme implementation of RFC 3492: "Punycode: A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)"

(use punycode)

(punycode-encode "Bücher")
;; => "Bcher-kva"

(punycode-decode "Bcher-kva")
;; => "Bücher"

(domain->ascii "www.bücher.de")
;; => "www.xn--bcher-kva.de"

(domain->unicode "www.xn--bcher-kva.de")
;; => "www.bücher.de"

This implementation does not support producing mixed-case annotations when encoding (which is not required by the RFC).

About

RFC3492 Punycode implementation for CHICKEN Scheme

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages