add encoding argument
Getty Ritter
3 years ago
272 | 272 | (gather-para body))))) |
273 | 273 | |
274 | 274 | (define (translate-file filename) |
275 |
(let ((body (with-input-from-file filename read-string |
|
275 | (let ((body (with-input-from-file filename read-string #:encoding "UTF-8"))) | |
276 | 276 | (telml->sxml (parse body) standard-tag-list))) |
277 | 277 | |
278 | 278 | (define (translate-feed-file filename) |
279 |
(let ((body (with-input-from-file filename read-string |
|
279 | (let ((body (with-input-from-file filename read-string #:encoding "UTF-8"))) | |
280 | 280 | (telml->sxml (parse body) feed-tag-list))) |