[plt-scheme] servlet, character encoding of data file contains sexps

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Nov 30 09:11:37 EST 2007

PLT Scheme generally expects source files to be encoded in utf-8. If
you have other files in other encodings, you can write scripts to read
them in, however.  bytes-convert is the low-level interface, but I bet
if you poke around, perhaps in the port library, you'll find a
higher-level one.

Robby

On Nov 30, 2007 5:22 AM, Geoffrey S. Knauth <geoff at knauth.org> wrote:
> I was playing with the web-server's useful quiz.ss, and I made a
> chinese-questions.ss from english-measure-questions.ss.  I have some
> lists with Chinese characters in them, e.g.:
>
>         ("你" "泥" "拟" "呢")
>
> I gather I should stick with UTF-8 encoding?  The servlet didn't seem
> to like reading a file containing UTF-16.
>
> Geoffrey
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>

Posted on the users mailing list.