Changes between Version 3 and Version 4 of Unicode


Ignore:
Timestamp:
Dec 3, 2005 1:15:29 PM (8 years ago)
Author:
john@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Unicode

    v3 v4  
    3030 
    3131The Haskell 98 Report claims that Haskell source code uses the Unicode character set. 
    32 No existing implementation allows unrestricted use of the Unicode character set in Haskell source. Most treat source code as Latin-1. If Unicode were allowed, how would implementations know which encoding was used? 
     32Jhc is the only implementation that allows unrestricted use of the Unicode character set in Haskell source. Most treat source code as Latin-1 (except jhc which treats it as utf8). If Unicode were allowed, how would implementations know which encoding was used? 
    3333 
    3434Some things we could do: 
     
    3838 * Allow Unicode, with a mechanism for specifying encoding. 
    3939 * Allow Unicode only in some places, e.g. character and string literals. 
     40 * Use the locale standard on the system. this is arguably the correct thing all progams that read text files should always do. (we could specify that all compilers must support utf8 too) 
    4041 
    4142== The Char type ==