summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2026-01-02 10:53:30 -0500
committerSacha Chua <sacha@sachachua.com>2026-01-02 10:53:30 -0500
commit8b413ce914fb2201d46c7283e535deaabd21ab55 (patch)
tree426987bd8bf0682c579e06d6cca329c797603b91
parent06380df3270327e3be7cb825fe176dcf52b88547 (diff)
downloademacsconf-el-8b413ce914fb2201d46c7283e535deaabd21ab55.tar.xz
emacsconf-el-8b413ce914fb2201d46c7283e535deaabd21ab55.zip
slightly clearer way to reencodeHEADmain
-rw-r--r--emacsconf-toobnix.el6
1 files 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)