Re: [racket-users] char-utf-8-length signature is surprising

2018-05-03 Thread David Storrs
Interesting. Thanks for the explanation; that was bugging me. On Thu, May 3, 2018 at 3:37 PM, Shu-Hung You wrote: > Looks like the implementation of char-utf-8-length returns values > fitting the "FSS-UTF (1992) / UTF-8 (1993)" table in > https://en.wikipedia.org/wiki/UTF-8#History. Not sure wha

Re: [racket-users] char-utf-8-length signature is surprising

2018-05-03 Thread Shu-Hung You
Looks like the implementation of char-utf-8-length returns values fitting the "FSS-UTF (1992) / UTF-8 (1993)" table in https://en.wikipedia.org/wiki/UTF-8#History. Not sure what's the standard UTF-8 encoding.. /* racket/src/char.c */ static Scheme_Object *char_utf8_length (int argc, Scheme_Object