behaviour change in getDirectoryContents in GHC 7.2?

Jean-Marie Gaillourdet jmg at
Wed Nov 2 11:03:05 CET 2011


On 01.11.2011, at 19:43, Max Bolingbroke wrote:

> As I pointed out earlier in the thread you can recover the old
> behaviour if you really want it by manually reencoding the strings, so
> I would dispute the claim that it is "impossible to fix within the
> given API".

As far as I know, not all encodings are reversable. I.e. there are byte sequences which are invalid utf-8. Therefore, decoding and re-encoding might not return the exact same byte sequence.


More information about the Glasgow-haskell-users mailing list