On Mon, 27 Mar 2000, Sven Panne wrote:
[snip]
  > Haskell type |    C type    | ... is probably |          Range
  > -------------+--------------+-----------------+---------------------------
  > Char         |  HsChar      | char (1)        | HsCharMin  .. HsCharMax   
[snip]
  > Remarks:
  > ========
  > 1) Although the Haskell 98 report states that Char should be a Unicode
  >    character, a plain char is used here. No implementation uses Unicode so
  >    far, and char is what one wants most of the time, anyway.
  > 
>From http://www.cs.chalmers.se/~augustss/hbc/lexemes.html:

  Character and string literals may contain Unicode characters. 

and

  Although hbc handles 16 bit characters correctly within a program the I/O
  libraries are still 8 bit oriented.
  The Unicode module contains functions to encode and decode various
  Unicode formats. 

I haven't looked at that Unicode module yet, though.

Bye, Jan de Wit


Reply via email to