[darcs-users] darcs patch: Re-encode the input from Haskeline as UTF8.

Judah Jacobson judah.jacobson at gmail.com
Sat Dec 27 16:37:01 UTC 2008


The following patch fixes Unicode input on POSIX systems with the
Haskeline backend.  Haskeline returns decoded Chars, but Darcs expects
the input to be encoded (which is the behavior of the non-Haskeline
backend).  This fix re-encodes the input received from Haskeline into
UTF-8.

(Unicode input on Windows with Haskeline is not expected to work yet,
unfortunately.)

Mon Dec 22 07:38:01 PST 2008  Judah Jacobson <judah.jacobson at gmail.com>
  * Re-encode the input from Haskeline as UTF8, to match the
non-Haskeline backend.

    M ./src/Darcs/Utils.hs -1 +13
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haskeline-utf8.patch
Type: application/octet-stream
Size: 68868 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20081227/3941f838/attachment-0001.obj 


More information about the darcs-users mailing list