Proposal #3337: expose Unicode and newline translation from
judah.jacobson at gmail.com
Sun Jul 5 14:48:29 EDT 2009
On Fri, Jul 3, 2009 at 1:23 AM, Simon Marlow<marlowsd at gmail.com> wrote:
> On 02/07/2009 23:04, Judah Jacobson wrote:
>> On Tue, Jun 30, 2009 at 5:03 AM, Simon Marlow<marlowsd at gmail.com> wrote:
>>> For the proposed new additions, see:
>>> * http://www.haskell.org/~simonmar/base/System-IO.html#23
>>> System.IO (Unicode encoding/decoding)
>>> * http://www.haskell.org/~simonmar/base/System-IO.html#25
>>> System.IO (Newline conversion)
>>> Discussion period: 2 weeks (14 July).
>> 3) How hard would it be to get Windows code page support working? I'd
>> like that a lot since it would further simplify the code in Haskeline.
>> I can help out with the implementation if it's just a question of
> Ok, so I did look into this. The problem is that the MultiByteToWideChar
> API just isn't good enough.
> BTW, Python uses its own automatically-generated codecs for Windows
> codepages. Maybe we should do that too.
That approach seems best; and it would be a nice small step towards a
pure Haskell replacement for libiconv. I've started working on this.
More information about the Libraries