Data update

This commit is contained in:
Ingy döt Net 2025-02-27 18:35:13 -05:00
parent 8e4e15fa56
commit 72eb4943cb
1853 changed files with 35514 additions and 9441 deletions

View file

@ -0,0 +1,7 @@
fun urlEncode str =
let
fun charToHex c = "%" ^ (Int.fmt StringCvt.HEX (ord c))
fun escapeChar c = if Char.isAlphaNum c then Char.toString c else charToHex c
in
String.concat (map escapeChar (explode str))
end