Skip to content

Commit 79645bc

Browse files
authored
Merge pull request #5 from EmmanuelCharpentier/master
Fix: Non-ASCII characters in Sage text or comments.
2 parents 91d1da7 + b858f7f commit 79645bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ob-sagemath.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ buffer."
255255
(raw-code (org-babel-expand-body:generic
256256
(encode-coding-string body 'utf-8)
257257
params (org-babel-variable-assignments:python params)))
258-
(buf (current-buffer)))
258+
(buf (current-buffer))
259+
(coding-system-for-write 'utf-8))
259260

260261
(ob-sagemath--init session sync)
261262

0 commit comments

Comments
 (0)