[plt-scheme] Moving mzscheme extension to 299.XX

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Feb 17 14:30:26 EST 2005

On Feb 17, David J. Neu wrote:
> So, the test SCHEME_CHAR_STRINGP succeeds, but calling
> SCHEME_CHAR_STR_VAL to extract the string "hello" and sending the
> result to a C function only yields the first char.

It does get you the whole thing, but that's a wide (ucs4) string, and
the first character is #x00000063 -- and you can guess what happens
with most stdlib stuff...  (This is why the foreign interface defaults
to using utf-8...)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!



Posted on the users mailing list.