File: poke.clj

package info (click to toggle)
lambdaisland-uri-clojure 1.13.95-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 240 kB
  • sloc: xml: 88; sh: 28; makefile: 12
file content (9 lines) | stat: -rw-r--r-- 242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
(ns poke
  (:require [lambdaisland.uri :as uri]
            [lambdaisland.uri.normalize :as norm]))

(:fragment (norm/normalize (uri/map->URI {:fragment "'#'schön"})))
"'%23'sch%C3%B6n"

(norm/normalize-fragment "schön")
;; => "sch%C3%B6n"