On Fri, Nov 13, 2015 at 9:45 AM, Tim Hanson <tbh...@gmail.com> wrote: > hi, > > I was hoping yesterday to read UTF-16 characters from a file
I think you need reencode-input-port. > p.s. maybe there's an easier way to get an arbitrary counter than what i did > here? > > (define (integers-starting-from n) > (stream-cons > n > (integers-starting-from (+ n 1)))) > > (define naturals > (integers-starting-from 1)) > > This worked fine for me, so I didn't worry about it... should be the same thing as in-naturals, I think? Cheers -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.