fix potential encoding bug
This commit is contained in:
parent
9fc1f546c5
commit
de032b9237
|
@ -200,7 +200,7 @@
|
||||||
(unless proc-done
|
(unless proc-done
|
||||||
(loop #t proc-done))]
|
(loop #t proc-done))]
|
||||||
[(list line)
|
[(list line)
|
||||||
(define line-str (bytes->string/utf-8 line #f))
|
(define line-str (bytes->string/utf-8 line #\?))
|
||||||
(define line-parts
|
(define line-parts
|
||||||
(and line-str
|
(and line-str
|
||||||
(map (lambda (x) (string->number x 16))
|
(map (lambda (x) (string->number x 16))
|
||||||
|
|
Loading…
Reference in New Issue