summaryrefslogtreecommitdiffstats
path: root/emacsconf-toobnix.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacsconf-toobnix.el')
-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)