From 5bad5320032a8fc477e9f2527d23036c41ac023e Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 9 Jun 2025 18:31:55 -0400 Subject: Update --- src/wasp-utils.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wasp-utils.el') 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)) -- cgit v1.2.3