[racket] current-output encoding

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Tue Mar 26 10:34:36 EDT 2013

Hello,

suppose I have this program:

====
#lang racket

(display "à")
====

This works as intended when run from DrRacket, but it displays
mojibake if I generate an executable and run it from a console (on
windows).

How do I tell Racket what encoding to use for current-output?

Cheers
P.


Posted on the users mailing list.