Re: [racket] Encoding problem when using smtp-send-message send email to evernote

2015-01-29 Thread Matthew Flatt
The `smtp-send-message` and `standard-header` functions do not attempt any encoding --- which means that it ends up encoding in UTF-8, while the receiving end probably interprets it as Latin-1. There's a `net/unihead` library that provides an `encode-for-header` function that's suitable for encodi

[racket] Encoding problem when using smtp-send-message send email to evernote

2015-01-29 Thread fyooo
hi, all I have an encoding problem when using smtp-send-message send email to evernote.‍ My code is: ‍ #lang racket (provide (all-defined-out)) (require net/dns) (require net/head) (require net/smtp) (require openssl/mzssl) (require "options.rkt") (define (send-evernote entitle enconte