"Simon Marlow" <[EMAIL PROTECTED]> writes:
> >>  - Can the Char type hold the full range of Unicode characters?
> >>    This has been true in GHC for some time, and is now true in Hugs.
> >>    I don't think it's true in nhc98 (please correct me if I'm wrong).
> > 
> > You're wrong :-).  nhc98 has always had 32-bit characters internally.
> 
> I checked the nhc98 sources, and it seems that maxBound::Char is '\255'.

Yes, but nothing prevents you from creating a larger character by e.g.
    (toEnum 0x12345678) :: Char

Lennart writes:
> > What encoding(s) did hbc allow in source files?  The docs only mention
> > unicode characters inside character & string literals.
>
> The Java encoding, i.e., \uXXXX.

Well, in that case, nhc98 also supports Unicode in source files,
identically to hbc.

Regards,
    Malcolm
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to