Hi,
On Tue, Aug 19, 2008 at 02:18:36PM +1000, Michael Norrish wrote:
Are there any plans to implement some sort of sensible WideChar signature? (The existing WideChar signature in the Basis is not really a good base on which to build good support here.)
there is a Unicode library (based on the Word32 datatype) available as part of fxp [1] (an XML parser) that works with various SML Systems (I use it with current releases of Poly/ML, sml/NJ, and Mlton).
Maybe having a look into the fxp code (especially src/Unicode) could help you - but of course, this depends on the problem you need to solve. fxp only implements the stuff needed for parsing UTF encoded XML documents. I have to admit, that I not looked to deep into the fxp source myself (only enough to get it running with the above mentioned SML-systems) but I am using as part of our UML toolchain and it works well.
[1] http://www2.informatik.tu-muenchen.de/~berlea/Fxp/
Achim