Handbook
Glossary
>idna ( obj -- punycode )
Vocabulary
punycode
Inputs
obj
an
object
Outputs
punycode
an
object
Definition
IN:
punycode
GENERIC:
>idna
( obj -- punycode )
Methods
USING:
kernel
math
punycode
punycode.private
sequences
splitting
;
M:
object
>idna
"."
split
[
dup
[
N
<
]
all?
[
>punycode
"xn--"
prepend
]
unless
]
map
"."
join
;
USING:
accessors
punycode
urls
;
M:
url
>idna
[
>idna
]
change-host
;