Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Specify coding system in swank:connection-info

  • Loading branch information...
commit b8eaa90cd980b53ba4d2f7e738912f377d4a4f66 1 parent 87ffd1f
@nickg authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  swank-chicken.scm
View
3  swank-chicken.scm
@@ -307,6 +307,7 @@
(define (swank:connection-info)
`(:ok (:pid ,(current-process-id)
:package (:name CSI :prompt CSI)
+ :encoding (:coding-systems (,swank:coding-system))
:lisp-implementation
(:type "Chicken Scheme" :version ,(chicken-version)))))
@@ -583,6 +584,8 @@
(define (swank:quit-inspector)
'(:ok nil))
+(define swank:coding-system "utf-8-unix")
+
;; Unimplemented.
(define (swank:buffer-first-change . _) '(:ok nil))
(define (swank:filename-to-modulename . _) '(:ok nil))
Please sign in to comment.
Something went wrong with that request. Please try again.