Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 79645bc

Browse files
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

Lines changed: 2 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /