[MLton] Unicode / WideChar

Andreas Rossberg rossberg@ps.uni-sb.de
Tue, 22 Nov 2005 19:34:42 +0100


Adam Goode wrote:
> 
> I don't think you can reliably use toLower/toUpper (or any static
> method) to do case mapping on Windows. NTFS stores a special file named
> "$UpCase" which provides the case mapping for that volume. This file can
> have arbitrary mappings. (But it usually has something sane.)

That may well be true. I had the SML library spec and its OS.Path in 
mind, which requires file names to be "normalized" to lower case on 
Windows, in order to do path resolution (independent of their actual 
existence). I'm not sure that approach is a terribly good idea either, 
but then, what would be the alternative?

   - Andreas

-- 
Andreas Rossberg, rossberg@ps.uni-sb.de

Let's get rid of those possible thingies!  -- TB