[racket] #lang text ? #lang none ?

From: Tony Garnock-Jones (tonyg at ccs.neu.edu)
Date: Thu Jan 19 22:35:49 EST 2012

On 2012-01-19 6:26 PM, Hendrik Boom wrote:
> Would text/plain be UTF-8?

It could be. (It probably should be.) Also, given the custom reader
ability of the framework,

#lang text/plain;charset=utf-8

would be, while

#lang text/plain;charset=iso-8859-15

would not be. (How handy that ; is a comment character in the bootstrap
reader!)

Aw, rats, I just tried that last example, and it doesn't work:

tt.rkt:1:0: read: expected only alphanumeric, `-', `+', `_', or `/'
characters for `#lang', found ;

Regards,
  Tony

Posted on the users mailing list.