Re[2]: [Haskell-cafe] Strings and utf-8

2007-11-29 Thread Bulat Ziganshin
Hello Reinier,

Thursday, November 29, 2007, 1:13:24 PM, you wrote:

IMHO, someone should make a full proposal by implementing an alternative
System.IO library that deals with all these encoding issues and
implements H98 IO in terms of that.

http://haskell.org/haskellwiki/Library/Streams already exists
  

 Which would mean that we have streams to do character I/O, ByteString to
 do binary I/O, and System.IO to do, eh, something in between.

this means only that such proposal exists. i've worked on adding
bytestream support too, but don't finished the work. at least it's
possible. i hope that new i/o library will have modular design like
this so it will be easy to add new features as 3rd-party libs


-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re[2]: [Haskell-cafe] Strings and utf-8

2007-11-28 Thread Bulat Ziganshin
Hello Andrew,

Thursday, November 29, 2007, 1:11:38 AM, you wrote:

 IMHO, someone should make a full proposal by implementing an alternative
 System.IO library that deals with all these encoding issues and
 implements H98 IO in terms of that.

 We need two seperate interfaces. One for text-mode I/O, one for raw
 binary I/O.

 When doing text-mode I/O, the programmer needs to be able to explicitly
 specify exactly which character encoding is required. (Presumably 
 default to the current 8-bit truncation encoding?)

http://haskell.org/haskellwiki/Library/Streams already exists


-- 
Best regards,
 Bulatmailto:[EMAIL PROTECTED]

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe