From 8b413ce914fb2201d46c7283e535deaabd21ab55 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Fri, 2 Jan 2026 10:53:30 -0500 Subject: slightly clearer way to reencode --- emacsconf-toobnix.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacsconf-toobnix.el b/emacsconf-toobnix.el index 7e42d20..c82a2d6 100644 --- a/emacsconf-toobnix.el +++ b/emacsconf-toobnix.el @@ -60,9 +60,9 @@ TYPE is 'talk or 'answers." (url-request-data (mm-url-encode-multipart-form-data `(("description" . - ,(replace-regexp-in-string - "\n" "\r\n" - (plist-get properties :description)))) + ,(encode-coding-string + (plist-get properties :description) + 'utf-8-dos))) boundary)) (url (concat "https://toobnix.org/api/v1/videos/" id))) (with-current-buffer (url-retrieve-synchronously url) -- cgit v1.2.3