From 9bc24e9d44b736345fe8175519e5175333ce9315 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Sun, 14 Oct 2012 18:45:10 -0500 Subject: [PATCH] fix spell checker encoding original commit: c75cc48f5cfba3059fe7f245424a4c00f3eb2366 --- collects/framework/private/aspell.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collects/framework/private/aspell.rkt b/collects/framework/private/aspell.rkt index 6f94e40a..850a9e73 100644 --- a/collects/framework/private/aspell.rkt +++ b/collects/framework/private/aspell.rkt @@ -33,9 +33,9 @@ c1) (and (file-exists? c2) c2))))) - + (define aspell? (regexp-match? #rx"aspell" (path->string asp))) (when asp - (set! aspell-proc (process* asp "-a")) + (set! aspell-proc (apply process* asp "-a" (if aspell? '("--encoding=utf-8") '()))) (define line (read-line (list-ref aspell-proc 0))) (log-info (format "framework: started speller: ~a" line))