[plt-scheme] mzchar and wchar_t

From: Jim Blandy (jimb at red-bean.com)
Date: Thu Mar 16 00:02:09 EST 2006

On 3/15/06, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> To get from wchar_t to mzchar, the only strategy I know is to use
> wcstombs to get to a locale-specific encoding, and then use
> bytes->string/locale. The reverse mapping (mchar to wchar_t) is
> string->bytes/locale followed by mbstowcs.

Now that sounds more like the myopic bureaucracy we've come to know and hate. :)

Posted on the users mailing list.