Permalink
Browse files

Specify coding system in swank:connection-info

  • Loading branch information...
1 parent 87ffd1f commit b8eaa90cd980b53ba4d2f7e738912f377d4a4f66 @nickg committed Apr 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 swank-chicken.scm
View
@@ -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))

0 comments on commit b8eaa90

Please sign in to comment.