[Haskell-cafe] posting UTF8 data with Curl library

Eugeny N Dzhurinsky bofh at redwerk.com
Wed May 5 17:05:10 EDT 2010


I need to submit data to HTTP server using UTF8 encoding. I found out that
libcurl for haskell can work with Data.ByteString - but it seems not able to
work with Data.ByteString.UTF8.

Can you please advice, how do I convert Data.ByteString.UTF8 into
Data.ByteString and visa versa?

Thank you in advance!

Eugene Dzhurinsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100505/cccb96ae/attachment.bin

More information about the Haskell-Cafe mailing list