Closed FiV0 closed 2 years ago
Hi @Gaiwan,
Something like
(require '[lambdaisland.uri :as uri]) (require '[lambdaisland.uri.normalize :as n]) (n/normalize (uri/uri "https://twitter.com/intent/tweet?text=You are welcome 🙂&url=https://lambdaisland.com"))
will currently fail as normalize-query currently does not take utf-16 chars into account.
normalize-query
The patch only fixes the normalize-query part, something like
(n/char-seq (subs "🙂" 0 1))
will still fail. I wasn't quite sure how you want to deal with edge cases like these.
bin/kaocha
I ran bin/kaocha once.
Thanks @FiV0 , looks good!
Released in 1.11.86
Hi @Gaiwan,
Something like
will currently fail as
normalize-query
currently does not take utf-16 chars into account.The patch only fixes the
normalize-query
part, something likewill still fail. I wasn't quite sure how you want to deal with edge cases like these.
bin/kaocha
will do)I ran
bin/kaocha
once.