#2811: Unicode support for text I/O
---------------------------------+------------------------------------------
    Reporter:  igloo             |        Owner:  simonmar        
        Type:  feature request   |       Status:  new             
    Priority:  high              |    Milestone:  6.12 branch     
   Component:  libraries/base    |      Version:  6.10.1          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by duncan):

 Replying to [ticket:2811 igloo]:

 > You can elect to have no encoding by opening in binary mode, but that's
 all.

 With the existing H98 and System.IO api, yes.

 > Presumably this will need the ability to convert between arbitrary
 encodings internally, so it would make sense to also expose this
 functionality as a library.

 Not arbitrary character sets or encodings thereof, just to and from
 Unicode.

 Note that there is already a library that provides converting between
 pairs of character sets and encodings - the iconv package on hackage. We
 could probably make another lib that provides a portable lowest common
 denominator of that and the Win32 encodings API.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2811#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to