17 Nov
2003
17 Nov
'03
5:10 p.m.
"Simon Marlow" <simonmar@microsoft.com> wrote,
It is true that strictly speaking we don't need to say anything here. But I think it would be helpful to include a footnote as a guide to implementors, something along the lines of
[1] Note that if the platform defines __STDC_ISO_10646__ then wchar_t characters are Unicode code points, and thus the conversion between Haskell Char and CWChar is a simple cast. On other platforms, the translation is locale-dependent just as for CChar.
And the paragraph in question could be just
The module \code{CString} also exports a variant of the above string marshalling routines for wide characters, i.e. the C \code{wchar_t} type[1].
Ok. That's what's going to be in RC16. Cheers, Manuel