RE: CWString

"Simon Marlow" <[email protected]>
Newsgroups gmane.comp.lang.haskell.ffi
Message-ID <3429668D0E777A499EE74A7952C382D1BE67A1@EUR-MSG-01.europe.corp.microsoft.com>
 
> 3) link against another library such as libunicode which provides its
> own classification routines (this could be done optionally at compile
> time...)

libunicode is no good, I tried it.  It only recognises Unicode
characters up to '\xffff'.

The only right way to do this, it seems, is to generate the tables from
UnicodeData.txt.  However, I'm prepared to live with the current
solution as long as we document its shortcomings.  After all, it does
the right thing on the majority of our installed base.

Cheers,
	Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.