[gambit-list] Unicode silliness

Marc Feeley feeley at iro.umontreal.ca
Thu Jan 19 21:11:32 EST 2017


Many of the Scheme standard procedures aren’t documented.  By the way, for load to use UTF-8 encoding for the files it loads, you need to add -:f8 option to gsi.

Marc

> On Jan 19, 2017, at 8:50 PM, Bradley Lucier <lucier at math.purdue.edu> wrote:
> 
> 
>> On Jan 19, 2017, at 8:08 PM, Marc Feeley <feeley at iro.umontreal.ca> wrote:
>> 
>> Yes it “works”… but for the wrong reasons… try
>> 
>> (pp 🍔)
>> 
>> and you will see your code has no burger in it.  That’s because when you entered a burger at the terminal Gambit saw that as a 4 character symbol, i.e. |\360\237\215\224| .  To get a real burger (single Unicode character), you need the -:t8 .
> 
> There doesn’t seem to be any documentation for the “load” procedure in the gambit documentation (hard to believe, I know, but I sure as hell couldn’t find any).
> 
> Brad
> 




More information about the Gambit-list mailing list