On Friday, February 23, 2018 at 8:37:17 PM UTC+8, Matthew Flatt wrote: > > At Thu, 22 Feb 2018 19:55:17 -0800 (PST), Claes Wallin wrote:
> raco setup: --- summary of errors --- > > raco setup: error: during building docs for > > <pkgs>/racket-doc/scribblings/reference/reference.scrbl > > raco setup: examples: exception raised in example > > raco setup: error: "bytes-convert: contract violation\n expected: > > bytes-converter?\n given: #f\n argument position: 1st\n other > > arguments...:\n #\"ABCD\"" > > Maybe you already know this, but it's probably related to iconv. That > part of the documentation is trying to run an example > No, I don't know this. Thank you! (define convert (bytes-open-converter "UTF-8" "UTF-16")) > (bytes-convert convert (bytes 65 66 67 68)) > > which will fail if the iconv installation doesn't recognize "UTF-8" or > "UTF-16". > Ok, so (bytes-open-converter) will return #f if it receives an unknown encoding? I guess I'll have to look at what kind of iconv library racket is being built with. -- /c -- 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.