[racket] Problem around Creating Excutables

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Wed Jan 1 20:33:15 EST 2014

On Thu, Jan 2, 2014 at 1:05 AM, 亀田馬志 <masashi.kameda at gmail.com> wrote:

> Does anybody know how to tell Racket's compiler "I wanna see this in UTF-8"?

Are you sure that your DOS windows is using UTF-8?
AFAIK if you do nothing racket sends UTF-8 to the console.

Maybe your console is not using UTF-8.  If this is the case you may:

- use the Racket reencode-output-port function to reencode the output
stream to whatever encoding your console is using, or

- use the dos CHCP command to switch the console to use UTF-8.

In this thread of some time ago you can read a previous discussion
about this problem with some hints:
https://groups.google.com/forum/#!topic/racket-users/MGDUNnUVzWU

HTH
P.


Posted on the users mailing list.