[racket] current-output encoding

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Tue Mar 26 11:56:26 EDT 2013

On Tue, Mar 26, 2013 at 4:42 PM, Michael Wilber <mwilber at uccs.edu> wrote:
> Does this do what you want?
>
>> (display (string->bytes/latin-1 "à"))
> à

This does not work when run from inside DrRacket.

> See also: http://docs.racket-lang.org/reference/encodings.html?q=locale

Ooops.  I had looked only at the Guide, and not at the Reference.
Time to read more.

Thanks.


Posted on the users mailing list.