3 ms·
The SML standard defines a WideChar and WideString, that are compatible with the String type. A SML implementation could just say 'WideChar' = UTF-32 and WideS
by gnud 10y ago
The SML standard defines a WideChar and WideString, that are compatible with the String type.
A SML implementation could just say 'WideChar' = UTF-32 and WideString is unicode, and all source files are utf-8.
I think that would be within the standard.
- eatonphil 10y agoMy reading of the MLton page [0] on the subject suggests that the standard is in fact insufficient for full unicode support. [0] http://mlton.org/Unicode http://mlton.org/Unicode