diff options
| author | LLLL Colonq <llll@colonq> | 2025-06-09 18:31:55 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-06-09 18:31:55 -0400 |
| commit | 5bad5320032a8fc477e9f2527d23036c41ac023e (patch) | |
| tree | 0d6643223b94d2e8413c77487b49918a9413b38b /src/wasp-utils.el | |
| parent | 5d003af92aff89cc600c1125e2e8767fc88b7ae4 (diff) | |
Update
Diffstat (limited to 'src/wasp-utils.el')
| -rw-r--r-- | src/wasp-utils.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasp-utils.el b/src/wasp-utils.el index 8bac37ae..93ed6f77 100644 --- a/src/wasp-utils.el +++ b/src/wasp-utils.el @@ -82,6 +82,10 @@ Optionally append EXT to the path." "Given MSG, extract a user pinged." (cadr (s-match (rx "@" (group (one-or-more (any alnum "_")))) msg))) +(defun w/utf8 (s) + "Decode the unibyte string S as UTF-8." + (decode-coding-string s 'utf-8)) + (defun w/decode-string (s) "Decode the base64 UTF-8 string S." (decode-coding-string (base64-decode-string s) 'utf-8)) |
