Correct url of a "bad" string:
http://twitter.com/#!/search/Hoping%20You%20Have%20A%20iPhone%20When%20I%20Do%20This%20lang%3Aen
Hi,
In GHC 7.0.3 / Mac OS X when trying to:
writeFile "someFile" "(Hoping You Have A iPhone When I Do This) Lol Sleep Is When You Close These ---> \55357\56384"
I get:
commitBuffer: invalid argument (Illegal byte sequence)
The string I am trying to write can also be seen here:
http://twitter.com/#!/search/Hoping%20You%20Have%20A%20iPhone%20When%20I%20Do%20This%20lang%3Aen
It looks like 'writeFile' can not write unicode characters.
Any workarounds?
Thanks!
Dmitri