[project @ 2003-08-19 16:39:13 by simonmar]
authorsimonmar <unknown>
Tue, 19 Aug 2003 16:39:14 +0000 (16:39 +0000)
committersimonmar <unknown>
Tue, 19 Aug 2003 16:39:14 +0000 (16:39 +0000)
commit14c3d7f368a6ec5e760b2fd57218171eeaf53a29
tree2ce5ab4e358a22b225e28f119105ff5a65925555
parentbefea6c341289c072692ceb50ca16de3271cd43b
[project @ 2003-08-19 16:39:13 by simonmar]
Use the wide-char classifications from the C library if available.
This gives us Unicode-aware isLower, isUpper, isAlpha etc.

On Unix, you have to set your locale to something.  This is usually
done by setting the environment variable LANG, eg.

  export LANG=en

This stuff *should* also work on Windows, except that Windows uses a
16-bit wchar_t so will get it wrong for characters > '\xffff'.  However,
I figured it was better to use the system-supplied functionality
rather than trying to implement this stuff ourselves.
Data/Char.hs
Data/List.hs
GHC/Read.lhs
GHC/Show.lhs
Text/ParserCombinators/ReadP.hs
Text/Read/Lex.hs
include/HsBase.h